Alexandre Aubin
|
a2b4e151e4
|
Ugh, this gotta go into an m18n.n to work...
|
2020-03-28 14:51:19 +01:00 |
|
Alexandre Aubin
|
3b670b6cf9
|
Automatically remove existing system group if it exists when creating primary groups
|
2020-03-27 20:47:25 +01:00 |
|
Kay0u
|
0ea6537d78
|
Quick fix for app_setting delete
|
2020-03-27 01:32:05 +01:00 |
|
Kay0u
|
8a1cc89d97
|
Fix smoll bug
|
2020-03-23 00:40:42 +01:00 |
|
Kay0u
|
b9aa5d143f
|
Allow public apps with no sso tile
|
2020-03-22 20:51:32 +01:00 |
|
Alexandre Aubin
|
96be75e177
|
[fix] Make sure the group permission update contains unique elements
|
2020-03-15 23:28:24 +01:00 |
|
Kay0u
|
fab7aa7de2
|
more informations in hooks permission
|
2020-02-25 17:44:57 +01:00 |
|
Kay0u
|
dc5ee76124
|
Full permission url
|
2020-02-09 03:25:43 +01:00 |
|
Alexandre Aubin
|
d966407ff0
|
Let's not remove all_users here since it shall be added if visitors are allowed
|
2019-12-02 20:41:42 +01:00 |
|
Alexandre Aubin
|
e9c01c2f89
|
Additonal cleaning of legacy stuff when using new permission system + avoid duplicated entries in (un)protected_urls
|
2019-12-02 20:39:41 +01:00 |
|
Alexandre Aubin
|
a044f3ad7e
|
Implicitly add all_users when adding visitors group
|
2019-12-02 20:39:10 +01:00 |
|
Alexandre Aubin
|
a5866e67b9
|
Try to improve readability for these conditions
|
2019-12-02 20:39:10 +01:00 |
|
Alexandre Aubin
|
af054b3b85
|
Let's keep one thread per line for readability + easier to indentify the issue
|
2019-12-02 20:39:10 +01:00 |
|
Alexandre Aubin
|
df3c768898
|
Let's convert this in list in all cases (+ simplify later core)
|
2019-12-02 20:39:10 +01:00 |
|
Kay0u
|
6e606cc64d
|
Visitors permission needs All Users
|
2019-12-02 20:39:10 +01:00 |
|
Alexandre Aubin
|
7fa61b49f4
|
Typo fix lost in the merges...
|
2019-11-23 19:27:18 +01:00 |
|
Alexandre Aubin
|
0277ec4f12
|
Warn early about unexisting user/groups (otherwise this triggers a journal entry for nothing) + simplify code, explicit assumptions
|
2019-11-22 18:16:32 +01:00 |
|
Alexandre Aubin
|
63e756b9f5
|
Adjust tests because now all_users ain't added automatically by permission_create for .main perms
|
2019-11-22 18:16:32 +01:00 |
|
Kay0u
|
1b8e528965
|
symplify premission_create
|
2019-11-22 15:27:35 +01:00 |
|
Kay0u
|
a719ab05a2
|
[Fix] permission create
|
2019-11-22 15:27:28 +01:00 |
|
Alexandre Aubin
|
71878f6bbe
|
Move debug log dump from ynh_exit_properly to the core after failed app operation
|
2019-11-15 16:40:16 +01:00 |
|
Alexandre Aubin
|
6ff99f7cba
|
Improve app_upgrade error management
|
2019-11-15 16:40:04 +01:00 |
|
Kay0u
|
6d5b90cc23
|
Refactor group permission
|
2019-11-14 17:48:43 +01:00 |
|
Kayou
|
0beec2e0cb
|
Add arg in permission callback
|
2019-11-14 17:46:37 +01:00 |
|
Alexandre Aubin
|
ddc42e5c8c
|
Make sure the users actually exists when migrating legacy custom permissions
|
2019-11-06 18:36:09 +01:00 |
|
Alexandre Aubin
|
089b3cf973
|
[fix] Sync permissions only after we're done migrating them, otherwise this triggers a shitload of warnings
|
2019-10-31 20:36:25 +01:00 |
|
Alexandre Aubin
|
40f48ff25c
|
zzzzz previous commit broke the info for apps, only system infos were affected
|
2019-10-29 21:47:12 +01:00 |
|
Alexandre Aubin
|
9ee3d234e8
|
[ux] Add a message to explain that the app is being removed if the install fails
|
2019-10-29 19:19:04 +01:00 |
|
Alexandre Aubin
|
83b45d7894
|
Fix the legacy permission fix after app install, sometimes the setting ain't None
|
2019-10-29 17:38:05 +01:00 |
|
Alexandre Aubin
|
572b003e29
|
We gotta return a permission structure here in all case, otherwise stuff like app_addaccess will miserably fail in these case
|
2019-10-29 17:17:43 +01:00 |
|
Alexandre Aubin
|
71bc6a0faf
|
We gotta regen the ssowat conf to propagate the change
|
2019-10-29 16:38:15 +01:00 |
|
Alexandre Aubin
|
79627d79cc
|
[yolo] Cosmetic improvement for logs during system package upgrades
|
2019-10-29 16:18:31 +01:00 |
|
Alexandre Aubin
|
9294664d6c
|
Fix permission backward compatibility for the case where an app needs to make the app temporarily public during install script...
|
2019-10-26 17:46:51 +02:00 |
|
Alexandre Aubin
|
17ce7bd95c
|
Rework depreciation warning about legacy permission stuff
|
2019-10-26 17:46:51 +02:00 |
|
Alexandre Aubin
|
bd02678275
|
Refuse to add visitors to mail / xmpp / ... permission as it doesnt make sense
|
2019-10-24 17:47:43 +02:00 |
|
Alexandre Aubin
|
9beeb16077
|
Don't sync permission right away when deleting them, otherwise we get annoying warning because app_map thinks the app is still installed and expected a main permission
|
2019-10-20 04:17:25 +02:00 |
|
Alexandre Aubin
|
e005d94f82
|
Messed up the message UX with a previous PR (did not have the message explaining how to debug at the very end)
|
2019-10-20 04:17:25 +02:00 |
|
Alexandre Aubin
|
9362261d34
|
Ugh some apps uses skipped_uris sometimes instead of unprotected_uris...
|
2019-10-19 18:05:32 +02:00 |
|
Alexandre Aubin
|
7c99aff94e
|
Forgot the i18n
|
2019-10-19 18:04:55 +02:00 |
|
Alexandre Aubin
|
b8ce8e9392
|
Try to make those debug messages sound less like an error
|
2019-10-19 05:34:42 +02:00 |
|
Alexandre Aubin
|
d9990cd818
|
Smarter regex to avoid redacting all --key=stuff when using setting helpers for example
|
2019-10-16 18:59:23 +02:00 |
|
Alexandre Aubin
|
a0fd531ef9
|
Merge branch 'stretch-unstable' into more-accurate-tests
|
2019-10-15 23:27:45 +02:00 |
|
Alexandre Aubin
|
cd89f119ff
|
Merge branch 'stretch-unstable' into permission-visitors
|
2019-10-15 23:23:56 +02:00 |
|
Alexandre Aubin
|
4def4dfa6a
|
[yolofix] Should have a list of string to be able to join() later
|
2019-10-15 14:54:52 +02:00 |
|
Alexandre Aubin
|
6dc720f3cf
|
[yolo] Use read_json / write_to_json helpers to read/write ssowat conf.json.persistent
|
2019-10-15 02:36:12 +02:00 |
|
Alexandre Aubin
|
7d0119ade4
|
Fix backup info.json format...
|
2019-10-15 01:06:04 +02:00 |
|
Alexandre Aubin
|
61931f2c4b
|
We don't want this to call .error() for legit logs already completed
|
2019-10-14 20:28:16 +02:00 |
|
Alexandre Aubin
|
08d9717236
|
Improve test accuracy for apps
|
2019-10-14 20:26:59 +02:00 |
|
Alexandre Aubin
|
3bc65ddc34
|
Merge branch 'stretch-unstable' into more-accurate-tests
|
2019-10-14 19:09:48 +02:00 |
|
Alexandre Aubin
|
1f2da5c26b
|
Merge branch 'stretch-unstable' into better-handling-of-app-install-and-remove-failures
|
2019-10-14 19:08:15 +02:00 |
|