Skip to content

Commit

Permalink
Version 0.7 Fix for ALA Secured filter ignoring anyRole=true
Browse files Browse the repository at this point in the history
git-svn-id: http://ala.googlecode.com/svn/trunk/ala-web-theme@247 cf76a52e-83f7-1f8e-e3a8-b8364d34af1a
  • Loading branch information
davidbairdala committed Jul 1, 2014
1 parent d3de3b1 commit bb7988d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion AlaWebThemeGrailsPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions application.properties
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion grails-app/conf/au/org/ala/web/AlaSecuredFilters.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<plugin name='ala-web-theme' version='0.3-SNAPSHOT' grailsVersion='2.1 &gt; *'>
<plugin name='ala-web-theme' version='0.7' grailsVersion='2.1 &gt; *'>
<author>Nick dos Remedios</author>
<authorEmail>[email protected]</authorEmail>
<title>Ala Web Theme Plugin</title>
Expand Down

0 comments on commit bb7988d

Please sign in to comment.