diff --git a/AlaWebThemeGrailsPlugin.groovy b/AlaWebThemeGrailsPlugin.groovy index d3bce60..dc088e7 100644 --- a/AlaWebThemeGrailsPlugin.groovy +++ b/AlaWebThemeGrailsPlugin.groovy @@ -4,7 +4,7 @@ import grails.util.Holders class AlaWebThemeGrailsPlugin { // the plugin version - def version = "0.6" + def version = "0.7" // the version or versions of Grails the plugin is designed for def grailsVersion = "2.1 > *" // the other plugins this plugin depends on diff --git a/application.properties b/application.properties index 4f7cd97..a9035c1 100644 --- a/application.properties +++ b/application.properties @@ -1,5 +1,5 @@ #Grails Metadata file -#Wed Feb 26 15:15:56 EST 2014 -app.grails.version=2.3.5 +#Thu May 15 09:16:05 EST 2014 +app.grails.version=2.3.8 app.name=ala-web-theme app.servlet.version=2.5 diff --git a/grails-app/conf/au/org/ala/web/AlaSecuredFilters.groovy b/grails-app/conf/au/org/ala/web/AlaSecuredFilters.groovy index c1d3e52..9ff96e5 100644 --- a/grails-app/conf/au/org/ala/web/AlaSecuredFilters.groovy +++ b/grails-app/conf/au/org/ala/web/AlaSecuredFilters.groovy @@ -43,7 +43,7 @@ class AlaSecuredFilters { error = true } else if (sa.notRoles() && !securityPrimitives.isNotGranted(roles)) { error = true - } else if (!securityPrimitives.isAllGranted(roles)) { + } else if (!sa.anyRole() && !securityPrimitives.isAllGranted(roles)) { error = true } } else { diff --git a/plugin.xml b/plugin.xml index 8a08d82..3042cab 100644 --- a/plugin.xml +++ b/plugin.xml @@ -1,4 +1,4 @@ - + Nick dos Remedios nick.dosremedios@csiro.au Ala Web Theme Plugin