Commit Graph

5 Commits

Author SHA1 Message Date
Akita Noek
6dad0406b8 Initial implicit role / resource field additions into models
"Completes" #731 until we find out what I missed
2016-02-04 15:12:24 -05:00
Akita Noek
68d8299689 Switched from booleans to integers for permissions flags
This is so that our permissions aggregation query can use MAX(column)
which exists and works in both postgres and sqlite, as opposed to having
some conditional aggregate function that we use depending on our
backend.
2016-02-04 15:12:24 -05:00
Akita Noek
014b970030 Automatically rebuild our role hierarchy when our m2m map is updated 2016-02-04 15:12:24 -05:00
Akita Noek
fae9ef3d65 flake8 corrections 2016-02-04 15:12:24 -05:00
Akita Noek
00619b7e36 Initial RBAC field and model definitions 2016-02-04 15:12:24 -05:00