Thomas Lynch
|
571380e243
|
remove applying inheritance on setting, match editstaff/editaccount
|
2 years ago |
Thomas Lynch
|
7a3095594f
|
Change permissions metadata to be keyed by the permission bits
Refactor form handling for permissions in editrole/editaccount, make mush shorter and more maintainable
|
2 years ago |
Thomas Lynch
|
5a7368a0a4
|
Add a new property to permissions metadata and reflect on frontend inability for users without that "parent" permission to edit roles/accounts to have some permissions e.g. root, edit roles, edit accs
Put the metadata into permissions.js (also TODO: key the metadata by bits instead? i.e [Permisions.whatever]: {})
|
2 years ago |
Thomas Lynch
|
dc739b3cff
|
Bugfix, make editrole route actually allow you edit BYPASS_CAPTCHA perm
|
2 years ago |
Thomas Lynch
|
e047782249
|
eslint lib, migrations, db, models, test, schedules and root dir
|
2 years ago |
Thomas Lynch
|
bb582c2de8
|
"helpers" -> "lib
god help anybody who gets serious merge conflicts from this
close #434
|
2 years ago |
Thomas Lynch
|
3a8f6b9e7e
|
- when updating a role, update the permissions for all the people with that role already
- dont allow making 2 roles the same permissions
|
3 years ago |
Thomas Lynch
|
e511c67efa
|
Make roles update on edits and fix map imports, so the role names show correctly after edt
|
3 years ago |
Thomas Lynch
|
993924a5f2
|
Start making roles editable ref #377
permtemplates are now roles.
They are in the db and can be edited.
Still have to do a few things like the migration, gulpfile and some small details.
|
3 years ago |