Commit Graph

4266 Commits

Author SHA1 Message Date
yannis
0dce11a4f1 feat: improve delrights that remove perms to tokens 2025-07-04 09:35:42 +02:00
yannis
7a498c0c91 feat: remove perms when removed group 2025-07-03 17:13:39 +02:00
yannis
1ffdd5736a fix: error if user had no perms (himself/group) 2025-07-03 16:03:48 +02:00
yannis
b503f10c11 feat: not erasing token perms if user stil has them (himself<->group) 2025-07-03 15:43:59 +02:00
yannis
04609c0728 feat: avoid modif on token that is not for api service 2025-07-03 14:42:43 +02:00
yannis
0d75748e01 feat: ungrant perm to tokens if lost in group 2025-07-03 14:40:44 +02:00
yannis
25ca6582b2 feat: ungrant perm to tokens if lost in global 2025-07-03 12:10:19 +02:00
yannis
8b4c3ef80c fix: bad test that unable to create token 2025-07-03 12:08:46 +02:00
yannis
f0be6e458c fix: php phan/stan 2025-07-02 16:58:44 +02:00
yannis
00187b3d7c feat: auto selected user at token creation if id set 2025-07-02 15:51:24 +02:00
yannis
bb32b29c4e Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into new-api-rest-tokens 2025-07-02 15:34:58 +02:00
yannis
4c51a4309e feat: api loading rights of specified token 2025-07-02 15:22:13 +02:00
yannis
389715777e feat: improve display entity name 2025-07-02 11:21:38 +02:00
yannis
e97a1f8efd feat: encrypt/decrypt token 2025-07-02 09:20:54 +02:00
Jyhere
787bd1d278 CHANGE: ternary simplification (#34675) 2025-07-01 20:34:09 +02:00
yannis
ef96314026 fix: cancel button not working when comming from admin token list 2025-07-01 16:52:26 +02:00
yannis
ec79241dc2 feat: multicompany display for token list 2025-07-01 16:09:12 +02:00
yannis
61601c43d6 feat: multicompany display for token card 2025-07-01 15:56:10 +02:00
yannis
df3e872d3a feat: disable display when multicompany is not enable 2025-07-01 14:48:53 +02:00
yannis
74acc59da5 feat: create token for choosen user as admin 2025-07-01 14:39:27 +02:00
yannis
40f838ba58 refactor: remove useless missing translation 2025-07-01 12:15:56 +02:00
yannis
2a452876b3 refactor: clean query and add missing filter 2025-07-01 12:11:37 +02:00
yannis
833bba723c refactor: change table name in sql query for pre-commit 2025-07-01 10:06:53 +02:00
yannis
c2ef82645a feat: protection from perm in token that user don't have 2025-07-01 09:56:24 +02:00
yannis
3d9a7fa894 feat: tokens list massaction delete 2025-07-01 09:33:12 +02:00
yannis
e67d3095ed Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into new-api-rest-tokens 2025-07-01 09:10:41 +02:00
yannis
deea6c174e feat: check if duplicate token key 2025-06-30 17:32:13 +02:00
atm-lena
5253346fca Delete entity filter in user fetch (#34348)
* Delete entity filter in user fetch

* Fetch without entity if fetch by id

---------

Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-30 14:21:03 +02:00
yannis
dc01e804fa feat: update fields and date format display 2025-06-27 15:46:01 +02:00
yannis
d3ac2ed53b feat: manage display of massaction buttons 2025-06-27 10:21:08 +02:00
yannis
7f3b8abdc8 feat: show back missing add button 2025-06-27 09:58:29 +02:00
yannis
dcf300b4f8 feat: multicompany managing and list improve display 2025-06-27 09:38:28 +02:00
yannis
35ecdeb9c9 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into new-api-rest-tokens 2025-06-27 09:13:20 +02:00
ldestailleur
497d774a21 Fix the selectForFormsList was not using correctly the
ismultientitymanaged. Replace a join with and exists.
2025-06-27 00:21:50 +02:00
yannis
f2bdfcecdb feat: token list sort/filter/page and improvments 2025-06-26 17:04:42 +02:00
yannis
7e163656ea feat: creation form and database storage 2025-06-26 10:57:52 +02:00
yannis
526de3276a feat: disable prev/next nav in token card 2025-06-26 09:23:24 +02:00
yannis
4a1fea5e07 feat: change token modif form to only delete button 2025-06-25 17:29:05 +02:00
yannis
eece31093d feat: avoid dupe perms 2025-06-25 16:47:21 +02:00
yannis
d44aa146f4 feat: loadRights now loads rights of token if specified 2025-06-25 16:37:48 +02:00
yannis
98fd331085 feat: improve list display and show numperms and not string 2025-06-25 15:17:13 +02:00
yannis
01296323d8 feat: enabling all perms will not enable unallowed global perms 2025-06-25 15:08:29 +02:00
yannis
d157ebc27b feat: auto add/delete perm if needed lower disabled 2025-06-25 14:42:42 +02:00
yannis
de1e05e618 feat: changed redirect url that was not working 2025-06-25 14:39:59 +02:00
yannis
931121dc22 feat: only show user perms in token perms settings 2025-06-25 12:18:45 +02:00
yannis
94bf6ed9fa feat: add delete rights working 2025-06-25 11:15:53 +02:00
yannis
5404bd6b16 feat: change var names for understandability 2025-06-25 11:12:38 +02:00
yannis
fa016210de feat: add card of token in user with token permission edition 2025-06-24 17:33:02 +02:00
yannis
a6e9a9ac14 fix: unique key violated when enabling api keys for user 2025-06-24 16:38:12 +02:00
yannis
336a4c57e0 refactor: clean code 2025-06-24 11:40:42 +02:00