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

Implement a guard decorator that will raise an exception if method called without necessary capabilities. #454

Open
chevah-robot opened this issue Apr 29, 2014 · 0 comments

Comments

@chevah-robot
Copy link

T2119 task was created by alibotean on 2014-04-29 12:14:07Z.
Last changed on 2014-06-05 09:00:05Z.

As an helper we can define a decorator which will raise a compat error when trying to call this method when process_capabilities are not right....

As a side comment. Note that these capabilites are called 'process_capabilites' and not 'account_capabilities' so these capabilities should be used only for OS account under which server is running and not for an arbitrary account.

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

No branches or pull requests

1 participant