Commit graph

10 commits

Author SHA1 Message Date
Aceix
f0601849a5
fix: update documentation links to new docs (#3156) 2024-10-17 14:35:36 +04:00
Abhishek K
5a4d0663da
NET-1227: User Cli cmds Update (#3064)
* generalise smtp config

* copy over smtp vars

* env new line

* fix master key api access

* comment user tests

* fix network and user invite for master key access

* remove email sender type

* user mgmt commands

* check user role on CE

* user role nmtcl cmds

* user groups commands

* fix role and groups command

* fix user create cmd

* add usage info

* rm user role check

* fix user update cmd

* fix static check
2024-08-25 07:25:40 +05:30
Abhishek K
719e0c254d
NET-551: User Mgmt Re-Design (#2547)
* add superadmin role, apis to create superadmin user

* apis to attach and remove user from remote access gateways

* add api to list user's remote client has gateway clients

* remove code related user groups

* remove networks and groups from user model

* refactor user CRUD operations

* fix network permission test

* add superadmin to authorize func

* remove user network and groups from cli

* api to transfer superadmin role

* add api to list users on a ingress gw

* restrict user access to resources on server

* deny request from remote access client if extclient is already created

* fix user tests

* fix static checks

* fix static checks

* add limits to extclient create handler

* set username to superadmin on if masterkey is used

* allow creation of extclients using masterkey

* add migration func to assign superadmin role for existing admin user

* check for superadmin on migration if users are present

* allowe masterkey to extcleint apis

* check ownerid

* format error, on jwt token verification failure return unauthorized rather than forbidden

* user update fix

* move user remote functionality to ee

* fix update user api

* security patch

* initalise ee user handlers

* allow user to use master key to update any user

* use slog

* fix auth user test

* table headers

* remove user role, it's covered in middleware

* setuser defaults fix
2023-09-01 14:27:08 +05:30
Anish Mukherjee
8e09684def add json format output alternative to tables 2023-03-06 12:08:46 +05:30
Anish Mukherjee
e600fe32ed remove toggle flag 2023-01-06 10:09:35 +05:30
Anish Mukherjee
016e7fd2f9 cleanup comments 2023-01-05 18:53:12 +05:30
Anish Mukherjee
d999f7b86e add comments to exported functions 2022-11-28 18:16:56 +05:30
Anish Mukherjee
da2d143e39 add user subcommand 2022-11-28 18:16:56 +05:30
Anish Mukherjee
9061c2f26c use tables for displaying list command output 2022-11-28 18:16:56 +05:30
Anish Mukherjee
b58040b9b8 add user create and list 2022-11-28 18:16:56 +05:30