Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug in AnnotationsShiroAuthorizationStrategy implementation #236

Open
shuraa opened this issue Jul 5, 2013 · 7 comments
Open

bug in AnnotationsShiroAuthorizationStrategy implementation #236

shuraa opened this issue Jul 5, 2013 · 7 comments
Labels

Comments

@shuraa
Copy link
Contributor

shuraa commented Jul 5, 2013

There is a typo in the AnnotationsShiroAuthorizationStrategy#isActionAuthorized method, that affectes checking for RENDER and ENABLE actions of an component's configuration phase.

ShiroSecurityConstraint fail = checkInvalidInstantiation(  findShiroSecurityConstraintAnnotations(componentClassAnnotations), ShiroAction.INSTANTIATE);

but shoud be

ShiroSecurityConstraint fail = checkInvalidInstantiation(findShiroSecurityConstraintAnnotations(componentClassAnnotations), _action);
@sturmm
Copy link

sturmm commented Jul 22, 2013

+1

@martin-g
Copy link
Member

Please create a Pull Request and we will merge it.
Thanks!

@sturmm
Copy link

sturmm commented Jul 22, 2013

Working on it :)

@shuraa
Copy link
Contributor Author

shuraa commented Jul 22, 2013

Thank you!

@sturmm
Copy link

sturmm commented Jul 22, 2013

How can I build the master?

How can I build the project for executing unit tests? I've checked out the master of the wicketstuff repo. The project needs wicket 6.9.0-SNAPSHOT as dependency. So I checked out build/wicket-6.9.0 branch from the wicket repo. When I execute the maven build here I got the version 6.9.1-SNAPSHOT ... When I checkout the tag wicket-6.9.0 maven will build wicket-6.9.0 (no snapshot). I don't like commit something without being able to execute unit tests.

sturmm added a commit to sturmm/core that referenced this issue Jul 22, 2013
sturmm added a commit to sturmm/core that referenced this issue Jul 23, 2013
@sturmm
Copy link

sturmm commented Jul 23, 2013

Done. Pull request #239

martin-g added a commit that referenced this issue Jul 23, 2013
@tkruse
Copy link

tkruse commented Mar 26, 2015

@RoadRunner120485 : PR seems merged, I guess this can be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants