Commit Graph

55 Commits

Author SHA1 Message Date
yannis
d88bf9e527 feat: remove unecessary test
permsgroupbyentitypluszero is set as an array before so cond is always
true
2025-07-10 11:29:19 +02:00
yannis
dd87b8fb9c fix: typo 2025-07-10 11:19:26 +02:00
yannis
743f699497 feat: remove unreachable code
permsgroupbyentitypluszero is set as an array before so cond is always
true
2025-07-10 11:03:43 +02:00
yannis
5806ff6887 refactor: clean code + comments 2025-07-10 10:34:04 +02:00
yannis
88da28b5d5 feat: add comment for understanding 2025-07-09 17:27:17 +02:00
yannis
e9f42ce507 fix: php stan 2025-07-09 17:05:15 +02:00
yannis
462c5f4d5e fix: php phan 2025-07-09 14:43:44 +02:00
yannis
add2172540 feat: improve arrows for switching user in token card 2025-07-09 11:33:42 +02:00
yannis
641f2a9513 feat: improve permission managment 2025-07-09 09:25:57 +02:00
yannis
ba91e23f31 feat: correct state if it was empty (not 0) + delete 0 if adding perm 2025-07-08 17:24:20 +02:00
yannis
16e84d0fa9 feat: use all user perms if empty state (not if 0) 2025-07-08 16:29:46 +02:00
yannis
cdb3021ce7 feat: default state to 0 when creating a token 2025-07-08 16:23:18 +02:00
yannis
dd8c2b9c3f feat: dont defaut grant admin perms for token 2025-07-08 16:21:12 +02:00
yannis
3078c0800f feat: set 0 in state for no perms
This is because if empty state it means all current user perms so we
have to distinguish
2025-07-08 15:21:48 +02:00
yannis
7f492d4a5e feat: update tms for postgre compatibility 2025-07-08 11:17:04 +02:00
yannis
b884f9aa67 feat: change translation 2025-07-07 17:07:39 +02:00
yannis
256eea24ea feat: add nonce for js script 2025-07-07 17:05:27 +02:00
yannis
39a6cadf11 feat: add picto for titles 2025-07-07 17:04:39 +02:00
yannis
2707e0660e feat: improve tab titles and trans 2025-07-07 16:12:24 +02:00
yannis
c24877a641 feat: add link back to list of token and to list of users 2025-07-07 15:59:42 +02:00
yannis
f211cc832d feat: added tpl for token lists 2025-07-07 15:54:52 +02:00
yannis
9af9bbfa3b feat: disable choosing token user for admin if creating from his list 2025-07-07 12:14:32 +02:00
yannis
d720fa80ff fix: php phan/stan 2025-07-04 16:38:02 +02:00
yannis
73ac786cbc feat: show all perms but disable button for not owned 2025-07-04 16:06:48 +02:00
yannis
8883c2e038 fix: showing bad entity 2025-07-04 14:50:07 +02:00
yannis
55fc93fdee fix: showing perms of other entity 2025-07-04 14:43:17 +02:00
yannis
18068419de fix: php phan/stan 2025-07-04 09:54:34 +02:00
yannis
3d65bb7ed6 fix: precommit 2025-07-04 09:44:32 +02:00
yannis
1ffdd5736a fix: error if user had no perms (himself/group) 2025-07-03 16:03:48 +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
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
yannis
ef96314026 fix: cancel button not working when comming from admin token list 2025-07-01 16:52:26 +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
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
deea6c174e feat: check if duplicate token key 2025-06-30 17:32:13 +02:00
yannis
dc01e804fa feat: update fields and date format display 2025-06-27 15:46:01 +02:00
yannis
dcf300b4f8 feat: multicompany managing and list improve display 2025-06-27 09:38:28 +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
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