Commit Graph
19 Commits
Author SHA1 Message Date
Nirav Parikh dd563582d0 adding permissions for cli.config.read and code fix for non admin use… (#313)
* adding permissions for cli.config.read and code fix for non admin users cli config download

Signed-off-by: Nirav Parikh <nir.parikh05@gmail.com>

* includes changes for nix, go version 1.21 and addressed review comments

Signed-off-by: nirparikh05 <nir.parikh05@gmail.com>

* fixed lints

Signed-off-by: nirparikh05 <nir.parikh05@gmail.com>

---------

Signed-off-by: Nirav Parikh <nir.parikh05@gmail.com>
Signed-off-by: nirparikh05 <nir.parikh05@gmail.com>
2024-06-03 12:57:00 +05:30
Akshay Gaikwad ccec5c3c18 fix: unable to create/update project when roles specified (#314)
Crate or Update project with roles association provided under
`projectNamespaceRoles` was failing due to empty group name passed to
Casbin. It fixes minor bug getting group name.

Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>
2024-05-31 14:50:16 +05:30
Abhijit Mukherjee a211287670 Fix: validate non empty projects for delete (#154)
fix: validate non empty projects for delete

Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
2023-02-20 11:50:00 +05:30
Abin Simon 981e82ec00 Fix project related tests 2022-06-17 13:19:25 +05:30
Abin Simon d3eafc6c9a Improve test coverage for project 2022-06-17 13:19:25 +05:30
Abin Simon 16b8a530fe Update project tests and simplify mocks 2022-06-17 13:19:25 +05:30
Nirav Parikh e0afe7b315 fixing test cases 2022-06-15 11:31:01 +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
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 8054b75c88 Lowercase error messages 2022-05-27 13:51:28 +05:30
niravparikh05 0210f0f2d3 renamed column namespace_id to namespace 2022-05-27 12:23:22 +05:30
niravparikh05 e45547a453 changes to support dev mode testing 2022-04-12 12:37:34 +05:30
Abin Simon 89379fe07f Fix tests after audit log changes 2022-04-08 17:42:26 +05:30
nirav-rafay c81ca9eb95 fixed test cases and format 2022-04-04 13:37:36 +05:30
nirav-rafay ce9063e990 rebasing with fixes for ui 2022-04-01 12:03:42 +05:30
Abin Simon fb4fa3781c Rename RafaySystems to RafayLabs 2022-03-24 12:42:59 +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
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