Skip to content

Conversation

@xylphid
Copy link

@xylphid xylphid commented Oct 12, 2018

This fix allow multiple profile check with the secure module because the original method only allow user having all specified profiles to access the resource.
It is now possible to add a list of granted profile to a controller or method :

@With(Secure.class)
@Check({"ADMIN","MANAGER"})
public class MyManageableController extends Controller {
    ...
}

AdminUser(role=ADMIN) and ManagerUser(role=MANAGER) will both be granted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant