Commit Graph
54 Commits
Author SHA1 Message Date
Nirav ParikhandGitHub 1b7a9a1fa3 changes to view auditlogs by project role users (#247)
feat: changes to view audit logs by project and cluster role users
---------

Signed-off-by: niravparikh05 <nir.parikh05@gmail.com>
2023-09-21 11:34:56 +05:30
Nirav ParikhandGitHub ac9a2b73e6 fix for org admins to view secrets with org restrictions (#242)
Signed-off-by: niravparikh05 <nir.parikh05@gmail.com>
2023-08-10 17:14:12 +05:30
Nirav ParikhandGitHub c645d2398d fix: multiple bootstrap requests using same cluster bootstrap yaml
multiple bootstrap requests and separated the fingerprint mismatch error which binds a target cluster with bootstrap yaml

Signed-off-by: niravparikh05 <nir.parikh05@gmail.com>
2023-03-30 12:30:12 +05:30
Abhijit MukherjeeandGitHub 0971def3b3 Feature: Add the ability to configure the SA account lifetime (#139)
added ability to conifigure SA account lifetime with validation

Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
2023-02-17 15:07:55 +05:30
Abhijit MukherjeeandGitHub d7d57cb2d0 Fix modify userinfo service to include scope in response (#108)
Fix modify userinfo service to include scope in response
2022-12-05 15:33:16 +05:30
Nirav Parikh d8f449a98e added order by time desc for auditlogs 2022-11-24 12:38:55 +05:30
Nirav Parikh 2c1d053396 updated query to use time column instead of timestamp from data 2022-11-23 14:11:30 +05:30
Nirav Parikh 319f778e7e added test cases 2022-11-22 19:01:26 +05:30
Nirav Parikh 6465afed9b initial commit for changes to support database as backend for audit logs 2022-11-16 19:05:38 +05:30
Akshay Gaikwad bde018a3c7 Use max select query for user last access time 2022-11-03 18:16:22 +05:30
Akshay Gaikwad 8f8bac25ea Add last login time in user API 2022-11-01 15:57:37 +05:30
Nirav Parikh f0952a37d8 Fixed creating project scoped role failed from cli 2022-10-11 14:49:56 +05:30
Nirav Parikh 0ea54255de changes to cluster lister, group creation date and default relay version 2022-09-27 20:06:47 +05:30
Abin Simon 2f069f2d72 Add tests for namespaces 2022-06-17 13:19:25 +05:30
Nirav Parikh 9107f6e1b5 changes to fix project updates for namespaces 2022-06-14 20:15:46 +05:30
Akshay Gaikwad 0ee494cc97 Rename rcloud, Rafay references 2022-06-08 18:41:32 +05:30
Akshay Gaikwad b67fcacf87 Rename go module name and its usage 2022-06-08 17:21:22 +05:30
niravparikh05 f8be2a671c fixes for sso users listing, sso users kubectl issue, removed commented code 2022-06-02 11:31:18 +05:30
niravparikh05 0210f0f2d3 renamed column namespace_id to namespace 2022-05-27 12:23:22 +05:30
niravparikh05 8ab85e57c9 changes to support namespaces 2022-05-23 12:42:51 +05:30
Abin Simon bdc1052662 Cleanup some TODO items 2022-05-20 11:27:29 +05:30
Abin Simon aabf2e600e Fix group filter for users
The following could be used as an optimisation when we are filtering
just by user, but decided to omit as of now.

```
usrs, err = dao.ListFilteredUsersWithGroup(ctx, s.db,
    []uuid.UUID{}, groupId, queryOptions.Q, queryOptions.Type,
    queryOptions.OrderBy, queryOptions.Order,
    int(queryOptions.Limit), int(queryOptions.Offset))
```
2022-05-20 10:29:35 +05:30
Abin Simon a6a3e20738 Fix user listing 2022-05-18 15:13:54 +05:30
Abin Simon 5c68a33537 Prevent combining idp and managed groups 2022-05-13 16:24:58 +05:30
niravparikh05 e9b9b2b7f4 fixes for oidc config and groups list 2022-04-27 21:39:24 +05:30
niravparikh05 33f3d9337b test case to be fixed 2022-04-26 21:31:13 +05:30
niravparikh05 101c005312 fixes for permissions and user group assoc 2022-04-26 19:56:36 +05:30
Abin Simon a68277e295 Fix fetching user in sentry
Previously we were getting the user with quotes around it which caused issues.
2022-04-26 13:28:36 +05:30
niravparikh05 db7be6e26e changes to support prompt 2022-04-25 17:24:08 +05:30
niravparikh05 8883703328 changes to expose system and user grpc clients for prompt 2022-04-15 15:05:17 +05:30
Abin SimonandAbin 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
Abin Simon 459a4c0d19 Update more resources to use transactions 2022-03-21 12:13:32 +05:30
Abin Simon 7189ae0fbe Fix missing soft_delete handling 2022-03-18 12:06:50 +05:30