Commit graph

12 commits

Author SHA1 Message Date
Vishal Dalwadi
da5115221f fix(go): workflow errors fixes; 2025-06-06 15:42:30 +05:30
Vishal Dalwadi
48957c02fa feat(go): use single db handle; use connection pool; 2025-06-06 15:26:23 +05:30
Abhishek K
ca95954fb5
NET-2000: Api access tokens (#3418)
* feat: api access tokens

* revoke all user tokens

* redefine access token api routes, add auto egress option to enrollment keys

* fix revoked tokens to be unauthorized

* remove unused functions

* convert access token to sql schema

* switch access token to sql schema

* revoke token generated by an user

* add user token creation restriction by user role

* add forbidden check for access token creation

* revoke user token when group or role is changed

* add default group to admin users on update

* fix token removal on user update

* fix token removal on user update
2025-04-23 20:21:42 +04:00
0xdcarns
7a2c225eb1 added mq and database connected funcs and endpoint 2023-02-06 12:09:21 -05:00
0xdcarns
5e327fdea4 set max open conns to 1 for sqlite 2022-03-21 09:14:04 -04:00
0xdcarns
9d0d3ea732 added mutex for sqlite 2022-03-15 22:37:30 -04:00
0xdcarns
0015d6fdf8 added encryption/decryption strategy 2022-01-29 18:18:46 -05:00
0xdcarns
e45a485bce added comments, optimized memory 2021-12-10 15:01:10 -05:00
0xdcarns
454a44b85b reverted, new permissions on db 2021-10-20 11:00:35 -04:00
0xdcarns
d7cafbbc4c code linting 2021-10-08 15:07:12 -04:00
worker-9
3a77f4df14 changed exec stuff and maybe fixed listenport 2021-08-18 18:59:17 -04:00
worker-9
fbb999f36b added sqlite support and ability to add dbs easier 2021-08-18 18:12:08 -04:00