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

Add ACO support with built-in Policy model #2

Closed
mikermcneil opened this issue Apr 13, 2012 · 1 comment
Closed

Add ACO support with built-in Policy model #2

mikermcneil opened this issue Apr 13, 2012 · 1 comment

Comments

@mikermcneil
Copy link
Member

In addition to assigning custom middleware to a particular controller and action at build time, the application should be able to modify permissions for specific Accounts to access specific instances of a model using a specific controller and action during runtime.

@mikermcneil
Copy link
Member Author

This is valuable, but still not foolproof. Olympus makes use of a polymorphic session.can(:instance) and session.permit(:instance), but that requires a uniform interface in the model which are treated as ACOs. Either way, this needs to be extrapolated w/ the rest of the auth module.

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

No branches or pull requests

1 participant