Commit Graph

391 Commits

Author SHA1 Message Date
Abin Simon
83621acd1a Disable caching in casbin
Until we implement
https://casbin.org/docs/en/dispatchers#distributedenforcer it is
better to disable caching as it might cause issues otherwise when
running multiple instances of the base.

Also, now that we do not have caching, we don't have the need to
invalidate the cache after update operations.
2022-06-14 10:49:16 +05:30
Nirav Parikh
845812b5f7 Merge pull request #161 from paralus/rcloudbase-branding-changes
Updated Contribution/Readme Doc
2022-06-10 14:04:17 +05:30
techmaharaj
66705418c3 Fixed Comments 2022-06-10 13:46:35 +05:30
Nirav Parikh
da6f02bbbc Merge pull request #164 from paralus/rename-to-paralus
Rename code to paralus
2022-06-10 13:36:06 +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
techmaharaj
6b1d886701 Updated Readme - first draft 2022-06-10 12:24:29 +05:30
Nirav Parikh
b3dae2f7fb Merge pull request #165 from paralus/kubeconfig-audit
Kubeconfig audit
2022-06-10 11:46:36 +05:30
Abin Simon
5274a5861c Add audit log for kubeconfig revoke 2022-06-10 09:04:26 +05:30
Abin Simon
38f937bfcf User GetM instead of GetByID when fetching user
This is necessary as we do not have `trash` in case of user and
GetByID explects that column to be available.
2022-06-10 09:04:26 +05:30
Abin Simon
4a38e1ee9a Drop unecessary logging now that dev flag is remvoved for auth 2022-06-10 09:04:26 +05:30
Abin Simon
ed3237a58c Fix identities file typo 2022-06-10 09:04:26 +05:30
Nirav Parikh
e32929ad64 Merge pull request #157 from paralus/imp-cover
Add coverage reporting to go workflow
2022-06-09 20:23:56 +05:30
Akshay Gaikwad
a31af67fe7 Generate Go code of agent templates 2022-06-09 16:29:21 +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
Akshay Gaikwad
b4287fe73d Merge pull request #163 from paralus/update-readme-dev-false
Set dev to false by default
2022-06-08 14:59:47 +05:30
Akshay Gaikwad
5206ce8d27 Set dev to false by default
- Set dev to false by default.
- Add auth even when dev is true.
2022-06-08 12:05:53 +05:30
Akshay Gaikwad
213fcaea43 Merge pull request #160 from paralus/modify-idp-groups-to-string
Modify Kratos traits to hold single string group
2022-06-07 17:16:59 +05:30
Akshay Gaikwad
318907b215 Modify Kratos traits to hold single string group
Due to the ORY Kratos claims which has no group/groups, and as
discussed regarding mapping idp groups to Claims.Team which is string
type, Added idpGroup to kratos trait which is also string type. Both
Identity idpGroup and Claim.Team can be mapped without fail in mapper
config.
2022-06-06 12:16:08 +05:30
techmaharaj
19f2d02e7e Updated repo name references 2022-06-06 11:46:48 +05:30
techmaharaj
b6a7f97700 Updated rafaylabs references 2022-06-06 11:28:32 +05:30
techmaharaj
3cae92784b Updated Contribution doc 2022-06-06 11:04:54 +05:30
Nirav Parikh
7ecbf699e6 Merge pull request #158 from paralus/sso_fixes
fixes for sso users listing, sso users kubectl issue
2022-06-06 10:50:13 +05:30
niravparikh05
79a88d4766 fix tests 2022-06-02 18:12:24 +05:30
niravparikh05
f8be2a671c fixes for sso users listing, sso users kubectl issue, removed commented code 2022-06-02 11:31:18 +05:30
Abin Simon
6bd87900de Add coverage reporting to go workflow 2022-06-01 16:35:06 +05:30
Abin Simon
19e5dffb60 Merge pull request #155 from RafayLabs/build-other-images
Add docker build jobs for init and sync images
2022-06-01 09:23:07 +05:30
Abin Simon
c885ccea3c Add docker build jobs for init and sync images 2022-05-31 08:50:22 +05:30
Nirav Parikh
fdb1dccb3b Merge pull request #150 from RafayLabs/ci-release-udpate
CI (Release): Build image on push to main branch
2022-05-30 11:17:56 +05:30
Akshay Gaikwad
e6664f6971 CI(Release): Build image on pull request 2022-05-30 10:46:00 +05:30
Abin Simon
58e5c9453d Merge pull request #153 from RafayLabs/remove_user_desc
removed desc from user traits
2022-05-27 16:03:19 +05:30
niravparikh05
ad193fbf98 removed desc from user traits 2022-05-27 15:15:58 +05:30
Abin Simon
14750dc41a Merge pull request #149 from RafayLabs/even-more-fixes
Fix errors, unique filter, oidc
2022-05-27 13:57:50 +05:30
Abin Simon
dde21c50c4 Drop description from identity schema 2022-05-27 13:51:28 +05:30
Abin Simon
c2c503a1aa Add proper unique constraint to project 2022-05-27 13:51:28 +05:30
Abin Simon
18269e0728 Update how unique is handled in provider 2022-05-27 13:51:28 +05:30
Abin Simon
f1e2e02891 Fix few more random issues in oidc provider 2022-05-27 13:51:28 +05:30
Abin Simon
8054b75c88 Lowercase error messages 2022-05-27 13:51:28 +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
0210f0f2d3 renamed column namespace_id to namespace 2022-05-27 12:23:22 +05:30
Akshay Gaikwad
8c64af636f Fix: Release workflow failing on test 2022-05-26 12:52:46 +05:30
Akshay Gaikwad
7bb0bf565c CI(Release): Build image on push to main branch
Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>
2022-05-26 12:52:00 +05:30
Nirav Parikh
d6bff5ed26 Merge pull request #147 from RafayLabs/forgot-password
Create endpoint to generate recovery link
2022-05-25 10:25:46 +05:30
niravparikh05
0ae35d2024 added changes for namespaced dynamic roles and created at metadata field 2022-05-24 15:48:56 +05:30
Nirav Parikh
691d94e841 Merge pull request #140 from RafayLabs/kratos-oidc-mapper-configs
Added mapper configs for known OIdC providers
2022-05-24 14:07:27 +05:30
Abin Simon
aa4bea1654 Fix tests for user delete 2022-05-24 12:37:50 +05:30
Abin Simon
446ae18798 Don't let users delete their own accounts 2022-05-24 12:27:41 +05:30
Abin Simon
c576932eda Create /user/:username/forgotpassword endpoint 2022-05-24 12:08:37 +05:30
niravparikh05
3d8c834189 fixing test cases for namespaces 2022-05-23 14:56:04 +05:30