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 |
|
soupette
|
84c4591816
|
Remove useless file
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:09:49 +02:00 |
|
soupette
|
c6d37dca41
|
Add tests
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:09:49 +02:00 |
|
soupette
|
99797ce934
|
Add permissions for delete create update
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:09:49 +02:00 |
|
soupette
|
cc76fc2abc
|
Refacto code
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:09:48 +02:00 |
|
soupette
|
c0a28d7064
|
Remove the redirect url
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:09:48 +02:00 |
|
soupette
|
896f7a5d96
|
Add tests
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:09:48 +02:00 |
|
soupette
|
1453e18818
|
Add loading states
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:09:48 +02:00 |
|
soupette
|
7006a8c02e
|
Refzacto ListView
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:09:48 +02:00 |
|
soupette
|
11ad6abfef
|
Fix subscriptions on unmount
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:09:47 +02:00 |
|
soupette
|
fb9d4d439f
|
Add permissions to CM listview
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:09:47 +02:00 |
|
soupette
|
c9fadf4efd
|
Improve code by using useMemo
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:09:47 +02:00 |
|
soupette
|
a7ea1e3200
|
Temp commit
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:09:47 +02:00 |
|
soupette
|
9f355043d0
|
Fix upload plugin
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:09:47 +02:00 |
|
soupette
|
820c0e9ba1
|
Hide searchbar in upload modal ctm when not allowed to read
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:09:46 +02:00 |
|
soupette
|
030066d542
|
Connect to check permissions to the API and disable Admin/indext.test.js
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:09:46 +02:00 |
|
soupette
|
2de81865d8
|
Remove ct
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:09:46 +02:00 |
|
soupette
|
e0dbf21925
|
Fix zIndex HeaderSearch
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:09:46 +02:00 |
|
soupette
|
cc20facc5e
|
Add permissions to roles
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:09:46 +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
|
d1c492a0fa
|
Fix unit tests
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
|
9fd6638634
|
Rework domain/condition
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
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
|
9f1fa33e29
|
Add conditions list to permissions/getAll / Add Default Conditions
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-07-08 11:09:44 +02:00 |
|
soupette
|
663138a058
|
Fix PR feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:09:44 +02:00 |
|
soupette
|
96bd475c5a
|
Hide search when not allowed to read
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:09:44 +02:00 |
|
soupette
|
1a23abf405
|
Fix unlockApp in ctb
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:09:44 +02:00 |
|
soupette
|
0689894571
|
Refacto code
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:09:43 +02:00 |
|
soupette
|
b64af2c309
|
Change adminReducer to immer
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:09:42 +02:00 |
|
soupette
|
8b02624b6b
|
Improve requests
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:07:28 +02:00 |
|
soupette
|
9bdad07af6
|
enable views
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:07:27 +02:00 |
|
HichamELBSI
|
d8f667456e
|
Permissions list collapse path
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
|
2020-07-08 11:07:27 +02:00 |
|
soupette
|
044c47e732
|
Add tests
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:07:27 +02:00 |
|
soupette
|
e83e25c298
|
Fix tests temporarily
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:07:27 +02:00 |
|
soupette
|
db0ff1de4f
|
Add permissions to users
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:07:27 +02:00 |
|
soupette
|
014d5e6f83
|
Add permissions to webhooks
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:07:26 +02:00 |
|
soupette
|
70a6a399dc
|
Add permissions to marketplace pages
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:07:26 +02:00 |
|
soupette
|
aad4c3df65
|
Create permissions.js file for admin package
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:07:26 +02:00 |
|
soupette
|
b9865277ba
|
Add comments
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:07:26 +02:00 |
|
soupette
|
2e56b8c9a9
|
Add tests
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:07:26 +02:00 |
|
soupette
|
7c8140491d
|
Add permissions to edit page
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:07:25 +02:00 |
|
soupette
|
51722ca3a1
|
Add permissions to homepage
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-08 11:07:23 +02:00 |
|
Convly
|
d674b1f7e6
|
Add policies on getAll (permissions) route
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-07-08 11:05:51 +02:00 |
|
Convly
|
027848eaa7
|
Fix pr comments (add doc, simplify engine code, add async test condition)
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-07-08 11:05:51 +02:00 |
|
Convly
|
a0b4132217
|
Merge engine.findPermissionsForUser with service.findUserPermissions
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-07-08 11:05:51 +02:00 |
|
Convly
|
d15cd823a3
|
Fix tests
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-07-08 11:05:51 +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 |
|