Barış Soner Uşaklı
59b1d8fbae
Merge pull request #5710 from NodeBB/_lodash
...
Switch from underscore to lodash
8 years ago
Peter Jaszkowiak
d4e7db45b7
Use zipObject, more test-related ignores
8 years ago
Barış Soner Uşaklı
937d6dd4df
fix acp privilege page not loading
8 years ago
Peter Jaszkowiak
3c2d4fe649
Switch from underscore to lodash
8 years ago
Barış Soner Uşaklı
8db193ff55
privileges style changes
8 years ago
barisusakli
324e5be7bd
privileges tests
8 years ago
barisusakli
1bee91fa22
groups refactor
8 years ago
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
8 years ago
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
8 years ago
Peter Jaszkowiak
feb8405f95
ESlint eol-last
8 years ago
Peter Jaszkowiak
604358ecc4
ESlint keyword-spacing, no-multi-spaces
8 years ago
Peter Jaszkowiak
2e031f3759
ESlint comma-spacing
8 years ago
Peter Jaszkowiak
3361a72725
ESlint no-plusplus
...
and no-empty, space-unary-ops
8 years ago
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
8 years ago
Sergii Paryzhskyi
e515b791da
Fix eslint rules ( #5117 )
...
* Fix semi linter rule
* Fix semi-spacing linter rule
* Fix no-undef-init linter rule
* Fix space-before-blocks linter rule
9 years ago
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
9 years ago
HeeL
3fa1c1f927
Fix space-infix-ops linter rule
9 years ago
barisusakli
07852862f5
improve helpers.isUserAllowedTo
...
ability to pass in an array of privileges and a single cid
9 years ago
barisusakli
b933385b76
partially revert fa9f1ac7fe
...
extending module.exports instead of overwriting fixes the issue
9 years ago
barisusakli
fa9f1ac7fe
fix dependency errors
9 years ago
barisusakli
6d946425fa
fix tests, circular deps
9 years ago
Ben Lubar
f62da5c4e9
see NodeBB/NodeBB#4909
9 years ago
Ben Lubar
26df552d55
Add edit, delete, and topics:delete permissions for users acting on their own posts
9 years ago
barisusakli
d2cbd7e6dc
new priv for uploads
9 years ago
barisusakli
09ce48ad33
fix privs
9 years ago
barisusakli
8f594de4c2
fix privs
9 years ago
barisusakli
c969870cb6
removed dupe privilegeList, added missing privilege to copyPrivsFrom
9 years ago
psychobunny
b37b083a4d
new privilege: Access Topic
...
differentiation between Access Category and Access Topic, ie. allows you
to see the category view but not actually enter the topic itself
9 years ago
barisusakli
5e5e46e95f
closes #4499
9 years ago
barisusakli
47c71b5a37
closes https://github.com/NodeBB/nodebb-theme-persona/issues/181
10 years ago
barisusakli
5e1bd58a02
closes #3782
10 years ago
barisusakli
8630196a2d
up composer
10 years ago
barisusakli
fec3877e51
fix tests
10 years ago
barisusakli
8c17de4221
remove dupe
10 years ago
barisusakli
5950f97f96
more refactors
10 years ago
barisusakli
11c70f3a28
closes #2330
10 years ago
barisusakli
3fff334de2
some priv cleanup
10 years ago
barisusakli
faae98892d
privilege fixes
10 years ago
barisusakli
e341b80d93
use set to get groups
10 years ago
Julian Lam
cbb0542984
changed behaviour of privilege table so that groups without explicit privileges are not shown in the privilege table
10 years ago
Julian Lam
c706638b5d
updating groups access control so:
...
1. Guests can no longer receive the moderate bit
2. If you attempt to grant the moderate privilege to a public group, a confirmation modal appears
3. A lock icon is present next to all private groups
10 years ago
Julian Lam
89442c91c6
fixed bug where privilege state was not correctly calculated for MongoDB installs, and fixed columnCount not being present when a the privilege list is refreshed
10 years ago
barisusakli
ed8d60b76b
move registered-users/guests to top remove admins from priv settings
10 years ago
Julian Lam
1a58ea6520
closed #2695
10 years ago
Julian Lam
7cdfe143ab
fixed bug where cid was hardcoded, and switched format back to storing group names, not slugs, #2887
10 years ago
Julian Lam
d3af278123
removed old code that was no longer necessary, updated privilege table to show all groups (similar to previous behaviour), fixes #2887
10 years ago
Julian Lam
9b84a887d3
a huge frickin' number of changes for #2887 . This is part of #2463
10 years ago
Barış Soner Uşaklı
203d4d052a
fixed my logic fail
10 years ago
Barış Soner Uşaklı
fc28cbf887
filter cids with a single .filter thanks @julianlam
10 years ago
Julian Lam
06d547a6cb
fixed bug in privilege settings where categories near the end of a list were not having their permissions read properly if earlier categories were disabled, #2887
10 years ago