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

Permission review of Ralph's views. #972

Closed
wants to merge 2 commits into from
Closed

Permission review of Ralph's views. #972

wants to merge 2 commits into from

Conversation

xor-xor
Copy link
Contributor

@xor-xor xor-xor commented Jul 14, 2014

Added test checking if every view inherits from ACLGateway class (for class-based views) or is decorated with ralph_permission decorator (for function-based views) - both of them are for enforcing permissions checks.

This test includes a list of excluded callbacks, which have to be examined individually (see explaination in the source code).

Added decorated_with property in ralph_permission decorator (for faciliating unit tests).

Tomasz Mieszkowski added 2 commits July 14, 2014 13:01
class-based views) or is decorated with 'ralph_permission' decorator
(for function-based views) - both of them are for enforcing permissions
checks.

This test includes a list of excluded callbacks, which have to be examined
individually (see explaination in the source code).

Added 'decorated_with' property in 'ralph_permission' decorator (for
faciliating unit tests).
@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) when pulling f7b27ab on xor-xor:ralph_1788 into b528109 on allegro:develop.

@xor-xor xor-xor closed this Jul 17, 2014
@xor-xor xor-xor deleted the ralph_1788 branch July 17, 2014 07:06
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.

None yet

2 participants