-
Notifications
You must be signed in to change notification settings - Fork 83
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
ACL 2.0 #61
Comments
Can you explain your ideas if possible? |
First, I think it is wrong that in the absence of access, triggered exception or throws (403, 404, etc.). |
Many cases we need to throw 404 or 403 and in few cases we need to redirect to login form if not logged in. |
In general, the fundamental idea is to add ability a callback method as an argument to |
I think we can add ACL::redirect cases where we need redirect to another page or login |
I looked similar implementation in Zend and Symfony and I found that we could borrow a something |
Maybe worth paying attention to the ready-made solutions for similar problems:
|
Hi all! I have some ideas about ACL 2.0 that you can look at this url: https://gist.github.com/sergeyklay/5075595 Here's one way how we can use this: https://gist.github.com/sergeyklay/5075608 I seriously reworked the code and add new methods. If you have anything to add - it would be good Best regards, |
Sorry, I didn't follow this issue, but we've covered most of the things. |
yep! |
I have some ideas on ACL...
I think I could improve it.
Let me move it in a separate module (may be Gleez ACL) to improve it
The text was updated successfully, but these errors were encountered: