Pierre Noël
|
dd88c00514
|
use new condition format
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:09:52 +02:00 |
|
Pierre Noël
|
b893501552
|
first refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:09:51 +02:00 |
|
Pierre Noël
|
93fc900e10
|
create admin permissions at startup
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:09:50 +02:00 |
|
Pierre Noël
|
3b8cab0621
|
add conditions logic for author/editor
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:09:50 +02:00 |
|
Pierre Noël
|
a6e090d991
|
prevent modification and delete of super admin role
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:09:49 +02:00 |
|
Pierre Noël
|
711c58b05e
|
create role at startup + warning
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:09:49 +02:00 |
|
Alexandre Bodin
|
a83c34e72e
|
Add default category
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 11:09:45 +02:00 |
|
Alexandre Bodin
|
24d4bad10c
|
Add displayName
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 11:09:45 +02:00 |
|
Convly
|
ed6a68d9be
|
Add category to conditions
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-07-08 11:09:45 +02:00 |
|
Convly
|
e745903112
|
Fix pr comments
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-07-08 11:09:44 +02:00 |
|
Convly
|
27c2ff9c0a
|
Add /admin/users/me/permissions route (+ findUserPermissions & sanitizePermission)
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-07-08 11:05:50 +02:00 |
|
Convly
|
ef94229d81
|
Add Condition Provider & Permissions Engine
|
2020-07-08 11:05:49 +02:00 |
|
Pierre Noël
|
7e1a91dda6
|
add use strict
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:05:08 +02:00 |
|
Pierre Noël
|
0330aba229
|
clean permissions in db at startup
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:05:07 +02:00 |
|
Pierre Noël
|
e078c0b022
|
rename permissions to actions, inverted params of provider.get, separated formatter, add possibility to not specigy pluginName for ::application
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:05:07 +02:00 |
|
Pierre Noël
|
707746ef45
|
refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:05:06 +02:00 |
|
Pierre Noël
|
5fffffa72d
|
add permission registry provider
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:05:06 +02:00 |
|