Kartik Garg
59674a221a
style: Fixed Misspells ( #223 )
...
Fixed the various misspells which were present in the code pointed out by Go Report Card
Fixes #198
Signed-off-by: Kartik-Garg <kartik.garg@infracloud.io >
2023-05-26 14:23:00 +05:30
Abhijit Mukherjee
6b8cc3163d
docs: added api keys as headers for all grpc messages ( #163 )
...
* added api keys as headers for all grpc messages
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io >
* changes to have multiple api keys for auth in partner swagger docs
Signed-off-by: niravparikh05 <nir.parikh05@gmail.com >
---------
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io >
Signed-off-by: niravparikh05 <nir.parikh05@gmail.com >
Co-authored-by: niravparikh05 <nir.parikh05@gmail.com >
2023-03-30 15:20:58 +05:30
Nirav Parikh
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 Mukherjee
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
Akshay Gaikwad
1f64d80729
Auto-generate password and force reset ( #124 )
...
* Upgrade kratos service to v0.10.1
Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com >
* Upgrade kratos-client-go to v0.10.1
Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com >
* generate password feature for kratos admin creation
Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com >
* Add forceReset property in user spec
Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com >
* added forcereset in the init script
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io >
* Resolve conflicts
Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com >
* Stdout default admin password in initialize script
Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com >
* setting password for new user and sending default password in create user response
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io >
* added new endpoint to service force reset flag update after resetting complete outside authz
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io >
* removed unnecessary overhead in the forcereset endpoint and updated user type proto to remove unused fields
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io >
2023-01-27 18:32:11 +05:30
Abhijit Mukherjee
cd55d2d1da
record user.login event by kratos hooks ( #111 )
...
* record user.login event by kratos hooks
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io >
* added test case for create login auditlog
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io >
* updated change log
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io >
2022-12-26 11:55:19 +05:30
Abhijit Mukherjee
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
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
d656513ddf
Add last login field to User proto
2022-11-01 13:33:02 +05:30
vivekhiwarkar
6bf6e80a9b
Fixing buf lint issue
2022-08-25 18:26:34 +05:30
Nirav Parikh
756bd48d9e
fix buf issue with struct emedding in controller.pb
2022-06-17 17:41:28 +05:30
Nirav Parikh
9107f6e1b5
changes to fix project updates for namespaces
2022-06-14 20:15:46 +05:30
Nirav Parikh
bb4e78b9f4
recreated pb files to update the desc encoded values after changes to paralus
2022-06-10 13:22:08 +05:30
Akshay Gaikwad
664beb4383
Replace rafay with paralus
2022-06-09 13:42:27 +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
Nirav Parikh
c3320a8234
Merge pull request #145 from RafayLabs/ns-dev
...
Namespace related development changes
2022-05-27 12:30:42 +05:30
niravparikh05
0ae35d2024
added changes for namespaced dynamic roles and created at metadata field
2022-05-24 15:48:56 +05:30
Abin Simon
c576932eda
Create /user/:username/forgotpassword endpoint
2022-05-24 12:08:37 +05:30
niravparikh05
8ab85e57c9
changes to support namespaces
2022-05-23 12:42:51 +05:30
Abin Simon
bebffe2c25
Changes to support audit log change in prompt
2022-05-20 15:02:18 +05:30
Abin Simon
bdc1052662
Cleanup some TODO items
2022-05-20 11:27:29 +05:30
Abin Simon
68bd13b891
Use projcts instead of projectids for search
2022-05-20 10:29:34 +05:30
Abin Simon
f3de101f94
Update User spec to include IDPGroups
2022-05-13 13:37:07 +05:30
Abin Simon
7ba4f9e518
Drop broken tests from unused modules
...
Dropping broken tests releated to namespaces, gitops and relay peering.
2022-05-02 15:16:10 +05:30
Abin Simon
c2142e6abe
Fix tests because of missing fiels
...
--- FAIL: TestAccessorWithNull (0.00s)
accessor_test.go:66: open testdata/secret.yaml: no such file or directory
--- FAIL: TestAccessorSetRaw (0.00s)
accessor_test.go:93: open testdata/pod.yaml: no such file or directory
--- FAIL: TestAccessor (0.00s)
accessor_test.go:128: open testdata/pod.yaml: no such file or directory
2022-05-02 15:10:00 +05:30
niravparikh05
13e78d6b07
fixes for cli auth
2022-04-28 21:35:42 +05:30
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
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
Abin Simon
9190ac81f2
Make UserInfo not require authz
2022-04-13 12:07:51 +05:30
Abin Simon
36bfda653b
Add host, ua and ip to session data
2022-04-08 17:42:26 +05:30
Abin Simon
5306d6a2c6
Send recovery url back after user creation
2022-04-06 13:39:36 +05:30
nirav-rafay
c81ca9eb95
fixed test cases and format
2022-04-04 13:37:36 +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
ce9063e990
rebasing with fixes for ui
2022-04-01 12:03:42 +05:30
Abin Simon
ff4f5d160e
Switch from permission to permissions for userinfo
2022-03-29 16:02:29 +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
fb4fa3781c
Rename RafaySystems to RafayLabs
2022-03-24 12:42:59 +05:30
Abin Simon
a830acd237
Apply go fmt
2022-03-21 18:23:06 +05:30
Abin Simon
7fa6a10d72
Add org project and namespace to auth proto
2022-03-21 17:49:21 +05:30
Abin Simon
be03c565b2
Revert back cluster_controller changes
2022-03-21 17:49:21 +05:30
Akshay Gaikwad
d792e57105
Format all packages using go fmt
2022-03-21 12:28:27 +05:30
nirav-rafay
dbfc2b3928
Merge pull request #39 from RafaySystems/casbin-url-mappings
...
Add support for mapping permission names to urls when creating the roles
2022-03-21 12:09:13 +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
abin-rafay
0e9be5e589
Audit engine query endpoints ( #43 )
2022-03-08 16:44:41 +05:30