Commit Graph

15 Commits

Author SHA1 Message Date
Wayne Witzel III
11eb99820d Initial pass of removing RBAC deprecated fields and Permission 2017-05-02 22:38:34 -04:00
AlanCoding
14746eebe3 fix system auditor getter logic 2016-12-05 11:22:11 -05:00
AlanCoding
fc72aafeb8 introduce caching for is_system_auditor method 2016-11-19 11:54:06 -05:00
Aaron Tan
9e4655419e Fix flake8 E302 errors. 2016-11-15 20:59:39 -05:00
AlanCoding
945635eb70 also limit creation of system auditors to superusers
squash
2016-07-27 17:02:08 -04:00
Akita Noek
280993a15d Dropped stored role name/description and other superflous fields
For name and description, we'll derive these from the role_field and
content type, which is much better for lots of reasons (eg changing text
the future). Also ditched the rest of the fields comming from the
standard common base model, we didn't use them and they cost several
indexes on the table.
2016-04-22 10:16:04 -04:00
Wayne Witzel III
d9538b200a fix User.accessible_objects 2016-04-15 14:57:01 -04:00
Wayne Witzel III
ff3be050fa test fixes and read_role 2016-04-15 11:56:08 -04:00
Wayne Witzel III
097bd805fa make migrations unicode safe, fixes #1345 2016-03-30 16:40:43 -04:00
Wayne Witzel III
82b72f99ca add rbac migration logging and reduce memory consumption 2016-03-29 17:16:26 -04:00
Wayne Witzel III
31a461956a Fixed up m2m_changed for rbac, added User.admin_role 2016-03-11 14:59:47 -05:00
Wayne Witzel III
94e8058127 Allow org.admin_role.members to administer org.member_role.members 2016-03-11 10:41:42 -05:00
Wayne Witzel III
55e071535b Added user role creation, accessible methods, and fixed up m2m_update 2016-03-11 07:07:17 -05:00
Akita Noek
9be9cf9b72 Fixed RBAC migration tests considering new signal handlers that are a bit too helpful during testing
We have some signal handlers now that perform work that do work
automatically that we want to explicitly test in our migration path, so
we have to undo some things in order to test the migration code.
2016-02-22 16:50:13 -05:00
Akita Noek
d51447e158 Migration and tests for super users 2016-02-08 22:54:19 -05:00