Thomas Lynch
|
262954c41c
|
remove comment todo that is already done
|
2 years ago |
Thomas Lynch
|
d68a32b831
|
Add some additional improved permission.js tests, and null check rather than !Metadata in permission handleBody (because else 0 would be true)
|
2 years ago |
Thomas Lynch
|
473eb94d39
|
Update permission.test.js to correctly expect() the .every rather than in the every callback, else it would only check the first one
|
2 years ago |
Thomas Lynch
|
fba680f40c
|
permissions metadata change, allow blocking editing/disable checkbox
|
2 years ago |
Thomas Lynch
|
277745a5ca
|
Fix the completely fucked up "my permission", the board equivalent, and staff permissions page since a recent permission update. Upside is it now considers the "parent" thing, which is nice.
|
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
|
7e3c424da3
|
Small note about global board management permissions, allow subtitles along with titles in permission metadata
|
2 years ago |
Thomas Lynch
|
3a4737ad8e
|
Add account permission to bypass captcha ref #435 still TODO fixing it for anonymizers
|
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
|
4f525b6613
|
move, rename, reorganise "helpers" => "lib"
|
2 years ago |