joscha/play-authenticate

Authorization

030 opened this issue · 5 comments

030 commented

Authentication works, but does this project also support authorization? E.g. userA could authenticate, but is not authorized to view this page, while userB is allowed.

oexza commented
030 commented

Shall I create a PR if the deadbolt works as the related README section seems to be empty https://github.com/joscha/play-authenticate/blob/master/samples/java/Getting%20Started.md#using-deadbolt

oexza commented

@030 sure, have a look at the sample app, deadbolt is in there - the Getting started guide is quite outdated, any updates are highly appreciated.

Thanks for your support @oexza!

030 commented

@oexza and @joscha I have read the deadbolt documentation and checked the sample code, made some changes to understand it more and tried to explain how one could prevent that users could see certain content by pasting an example from the sample app. Could you review the PR?