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

Fix access checking in views #15

Open
jacobwegner opened this issue Apr 17, 2015 · 1 comment
Open

Fix access checking in views #15

jacobwegner opened this issue Apr 17, 2015 · 1 comment

Comments

@jacobwegner
Copy link
Contributor

  • team_manage should implement a check similar to team_update
  • the following views compare manager_access to a Team.MEMBER_ACCESS constant, rather than checking the member_access attr:
    • team_apply
    • team_accept
    • team_leave
@jacobwegner
Copy link
Contributor Author

(also, the check in team_update differs from a similar check within decorators.manager_required and they could possibly be consolidated)

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

2 participants