Commit Graph

36 Commits

Author SHA1 Message Date
niravparikh05
8883703328 changes to expose system and user grpc clients for prompt 2022-04-15 15:05:17 +05:30
niravparikh05
c99c1c5a7e reverting changes for isGlobal in role resource 2022-04-14 18:36:55 +05:30
Nirav Parikh
a9e72810a5 Merge pull request #104 from RafayLabs/issue_fixes
issue fixes for cluster delete and adding bootstrap addr to agent config
2022-04-14 17:08:22 +05:30
Abin Simon
5d5b097770 Remove is_global column from resourcerole table 2022-04-14 16:55:48 +05:30
Abin Simon
d89136de65 Don't allow users to update builtin roles 2022-04-14 15:26:18 +05:30
niravparikh05
e7d436a232 issue fixes for cluster delete and adding bootstrap addr to agent config 2022-04-14 13:10:38 +05:30
Abin Simon
729009d7fb Add basic audit logging setup 2022-04-08 17:42:26 +05:30
Abin Simon
df72864d09 Add option to filter by user auth mode
Pass in type=password or type=oidc to pick the mode
2022-04-06 15:03:01 +05:30
Abin Simon
66c7cc7f10 Filter from all users list if we have don't have filters 2022-04-06 14:01:32 +05:30
nirav-rafay
639ff1da30 addressed review comments, changes for custom roles and sso users 2022-04-04 11:41:58 +05:30
nirav-rafay
af966bbadb Merge branch 'fixes-for-ui' of github.com:RafaySystems/rcloud-base into fixes-for-ui 2022-04-01 12:13:25 +05:30
nirav-rafay
ce9063e990 rebasing with fixes for ui 2022-04-01 12:03:42 +05:30
Abin Simon
94bb70cb6d Merge sentry view table models 2022-03-31 13:37:11 +05:30
Abin Simon
19273730e9 Limit project visibility to only users with project.read 2022-03-29 17:12:01 +05:30
Abin Simon
60199e3f4e Update sentry_account_permissions view 2022-03-29 15:09:19 +05:30
Abin Simon
ae1cae9782 Basic entitlements working 2022-03-29 15:09:19 +05:30
Abin Simon
f849cc59c3 Initial version of GetUserInfo for fetching full info about current users 2022-03-29 15:09:19 +05:30
Abin Simon
e8cc7d2f1c Implement filtering of users and groups via sentry
Drop the previous implementationusing custom code
2022-03-29 15:09:19 +05:30
Abin Simon
cf0b830924 Basic QueryOptions filtering for groups and users 2022-03-29 15:09:19 +05:30
Abin Simon
abb56481a3 Auth middleware for use in prompt 2022-03-25 18:18:55 +05:30
nirav-rafay
f33a7e7a69 fix table reference 2022-03-25 15:33:38 +05:30
nirav-rafay
ba1d51b169 rebasing with fixes for ui 2022-03-24 23:28:13 +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
Akshay Gaikwad
d792e57105 Format all packages using go fmt 2022-03-21 12:28:27 +05:30
Abin Simon
459a4c0d19 Update more resources to use transactions 2022-03-21 12:13:32 +05:30
Abin Simon
952f5ccf49 Fix soft delete issue in user fetch 2022-03-21 12:10:18 +05:30
Abin Simon
b7eede13c9 Switch to using soft delete for resources 2022-03-21 12:10:18 +05:30
Abin Simon
7189ae0fbe Fix missing soft_delete handling 2022-03-18 12:06:50 +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
226b753938 Switch to using soft delete for resources 2022-03-16 17:10:32 +05:30
Abin Simon
6a72c96fba Update tests for soft delete 2022-03-16 17:09:12 +05:30
Abin Simon
022dedfbdf Switch to using soft delete for resources 2022-03-16 17:09:10 +05:30
nirav-rafay
d469315bad changes for cli config download, apikey services and cli auth verify (#55) 2022-03-11 20:06:55 +05:30
akshay196-rafay
7938f30668 Update IdP and OIDC Provider (#40)
* Update creating oidc provider

* Validate partner and organization by checking in db tables.

* Validate empty scopes

* Fix oidc provider update

* Fix application Host url in ACS URL of Idp
2022-03-07 19:06:57 +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