| Issue 279: | Some permissions are hard coded based on group name | |
| 1 person starred this issue and may be notified of changes. | Back to list |
This makes changing permission group names impossible. Faculty shouldn't even be a group. is_staff implies it but we still need some way to make staff have access to a few perms. Evil string of commands to find hardcoded groups: find -name '*.py' | xargs grep -Fi '.groups.' | sed 's/)/)\n/g' | grep 'name=' | sed "s/^.*name=['\"]\(.*\)['\"].*$/\1/" | sort | uniq Currently, these are: company cwsp faculty registrar students teacher viewer From the master: 3:58 PM David: faculty comes from me thinking it meant anyone who works at a school 3:59 PM so anyone who isn't a student nor supervisor it might be hard coded
Feb 17, 2012
Project Member
#1
dmbs...@gmail.com
Status:
Fixed
Feb 17, 2012
This issue was closed by revision 1f97a46991cb. |