niravparikh05
c99c1c5a7e
reverting changes for isGlobal in role resource
2022-04-14 18:36:55 +05:30
Abin Simon
5d5b097770
Remove is_global column from resourcerole table
2022-04-14 16:55:48 +05:30
Abin Simon
5537cf0608
Don't allow users to delete builtin roles
2022-04-14 16:24:44 +05:30
Abin Simon
d89136de65
Don't allow users to update builtin roles
2022-04-14 15:26:18 +05:30
Abin Simon
9190ac81f2
Make UserInfo not require authz
2022-04-13 12:07:51 +05:30
Abin Simon
0ebb1a1339
Add audit log write
...
https://blog.sandipb.net/2018/05/03/using-zap-creating-custom-loggers/
2022-04-08 17:42:26 +05:30
Abin Simon
729009d7fb
Add basic audit logging setup
2022-04-08 17:42:26 +05:30
Abin Simon
1dce43d607
Update role definition for casbin
2022-03-25 18:17:43 +05:30
Abin Simon
a2a07c2dc2
FIx transaction issues
2022-03-24 17:06:12 +05:30
Abin Simon
fb4fa3781c
Rename RafaySystems to RafayLabs
2022-03-24 12:42:59 +05:30
Abin Simon
78a0b0c625
Rearrage some files to cleanup file structure
2022-03-24 12:40:45 +05:30
Abin Simon
b1e6981dcf
Rollback and log when commit fails
2022-03-21 12:17:22 +05:30
Abin Simon
b4abc1ea61
Make create,update,delete in role use transactions
2022-03-21 12:10:18 +05:30
Abin Simon
df810ab45a
Convert from dao interface to funcs
...
This was done inorder to support transactions which will be done in
the next PR. This is the first step towards that.
2022-03-16 17:10:32 +05:30
Abin Simon
3aedac3201
Fix scope for roles
...
This might not really be necessary but a good check
2022-03-14 12:34:18 +05:30
nirav-rafay
c66bdc25cd
restructure rcloud-base as a single base controller ( #37 )
...
* restructure rcloud-base as a single base controller
* updated master.rest
* moved sentry from internal to pkg as it is used by relay
* removing unused rpc and it's dependencies
* Fix usermgmt tests
* Don't redefine variables in rest file
Co-authored-by: Abin Simon <abin.simon@rafay.co >
2022-03-03 17:59:06 +05:30