Josue-T
|
0c6392a5f7
|
Fix helper
Co-Authored-By: Kayou <pierre.moltess@gmail.com>
|
2019-12-23 11:03:31 +01:00 |
|
Josué Tille
|
fe8a0cbcbd
|
Update helper for permission protection support
|
2019-12-22 15:03:29 +01:00 |
|
Alexandre Aubin
|
e84f57d7a8
|
Merge pull request #855 from kay0u/visitors-needs-all-users
Visitors permission needs All Users
|
2019-12-02 20:30:45 +01:00 |
|
Kay0u
|
32b6c2eccf
|
Visitors permission needs All Users
|
2019-11-29 22:48:17 +09:00 |
|
Alexandre Aubin
|
97e5d3b992
|
Remove those random sudo which are useless yet triggers LDAP warning when LDAP is in bad state
|
2019-11-28 00:10:40 +01:00 |
|
Alexandre Aubin
|
67bb386c39
|
Explicit that we wanna run this python code in 2.7, otherwise if you're in a python3 venv it may not find the yaml module
|
2019-11-25 18:27:01 +01:00 |
|
Kay0u
|
4b602f28b4
|
fail if permission already exists
|
2019-11-11 09:56:09 +09:00 |
|
Kay0u
|
59879634da
|
Fix parameters
|
2019-11-10 22:08:33 +09:00 |
|
Kay0u
|
464621f275
|
Improve permission helpers
|
2019-11-10 21:34:57 +09: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
|
e273195504
|
[fix] Bad copypasta: logger doesn't exists in that context...
|
2019-10-16 20:22:29 +02:00 |
|
Alexandre Aubin
|
e7d1cc5f94
|
Allow to specify right away what groups to allow for a permission when creating it
|
2019-10-09 23:02:57 +02:00 |
|
Alexandre Aubin
|
88794805eb
|
We probably don't need to have multiple urls per permissions ...
|
2019-10-09 23:02:37 +02:00 |
|
Alexandre Aubin
|
2a5053b66b
|
Misc wording and orthotypography...
Co-Authored-By: Allan Nordhøy <epost@anotheragency.no>
|
2019-09-21 13:32:40 +02:00 |
|
Alexandre Aubin
|
2b51d247fb
|
Propagate changes on app helpers + tests
|
2019-09-20 20:14:14 +02:00 |
|
Alexandre Aubin
|
c4743398e6
|
Deprecate (un)protected_uris and _regex settings + more explicit deprecation warning for app_add/remove/clearaccess
|
2019-09-15 18:17:46 +02:00 |
|
Alexandre Aubin
|
fe8f7f2210
|
Update permission helper : have a single helper to manage urls, and a helper to add/remove groups to permission
|
2019-09-13 16:33:03 +02:00 |
|
Alexandre Aubin
|
574e9aea44
|
Simplify permission_create/urls/delete interface and code
|
2019-09-13 16:31:03 +02:00 |
|
Alexandre Aubin
|
a6d68c76c4
|
permission_update -> permission_urls (+ tweak the helper name) so that it's more differentiable from user_permission_update
|
2019-09-13 16:31:02 +02:00 |
|
Alexandre Aubin
|
f60af2053f
|
permission_add/remove becomes create/delete to be consistent with user and group create/delete. In the context of permissions, add/remove shall instead be related to adding/removing an existing permission for a user or group.
|
2019-09-13 16:31:02 +02:00 |
|
Alexandre Aubin
|
ad3ebceff6
|
Fix old 'auth' thing in app helpers
|
2019-05-31 18:45:21 +02:00 |
|
Alexandre Aubin
|
24cfc15536
|
Merge branch 'stretch-unstable' into group_permission
|
2019-05-31 18:15:09 +02:00 |
|
Alexandre Aubin
|
a61f956a03
|
Set minimum version for these new helpers
|
2019-05-21 15:07:13 +02:00 |
|
Josué Tille
|
fde8cafa4e
|
Merge remote-tracking branch 'upstream/stretch-unstable' into group_permission
|
2019-05-10 22:53:06 +02:00 |
|
Maniack Crudelis
|
1db72311d2
|
Add helpers for sso config
And especially restore the old documentation about those keys
|
2019-05-06 12:52:47 +02:00 |
|
Alexandre Aubin
|
73b1ff169f
|
Move ynh_webpath_available/register to setting
|
2019-04-25 20:14:52 +02:00 |
|
Maniack Crudelis
|
e8da94ddf0
|
Merge branch 'stretch-unstable' into helpers_min_version
|
2019-03-18 07:56:12 +01:00 |
|
Maniack Crudelis
|
945912cc98
|
[fix] ynh_app_setting_get and ynh_app_setting_delete don't have a fourth argument.
|
2019-03-10 13:22:07 +01:00 |
|
Alexandre Aubin
|
650232b1c3
|
Merge branch 'stretch-unstable' into group_permission
|
2019-03-05 02:59:05 +01:00 |
|
Alexandre Aubin
|
078b9b90bc
|
Drunk commits were made >.>
|
2019-03-03 00:50:36 +01:00 |
|
Alexandre Aubin
|
4a8563ed9e
|
Clarify the if case for 'get'
|
2019-03-01 01:43:16 +01:00 |
|
Maniack Crudelis
|
873bf4ae37
|
Add min version for all helpers
|
2019-02-25 18:44:21 +01:00 |
|
Alexandre Aubin
|
f17f51f3f6
|
Add ynh_app_setting helper to optimize app setting interface
|
2019-02-24 03:32:14 +01:00 |
|
Alexandre Aubin
|
022d3922c1
|
This is a list of url so should be called 'urls'
|
2019-01-19 20:44:45 +00:00 |
|
Josué Tille
|
9ac60be564
|
Sync permission only at end of each operation
|
2019-01-17 22:15:14 +01:00 |
|
Josué Tille
|
4c2ae4fc77
|
Implement permission helper
|
2019-01-17 22:15:13 +01:00 |
|
Maniack Crudelis
|
976f160afb
|
Fix getopts and its legacy mode
|
2019-01-04 17:11:49 +01:00 |
|
Maniack Crudelis
|
f24b7a6fda
|
Use getopts for setting's helpers
|
2018-12-21 21:01:43 +01:00 |
|
ariasuni
|
8e45f960a7
|
[fix] Use --value="$3" syntax so that $3 can begin with a dash
|
2017-08-27 03:37:32 +02:00 |
|
Jérôme Lebleu
|
b0dc30edde
|
[fix] Call yunohost commands with --quiet in setting helpers
|
2016-03-26 19:15:53 +01:00 |
|
Julien Malik
|
5b7e16384e
|
[enh] move /usr/share/yunohost/apps/helpers to /usr/share/yunohost/helpers since it became of more general use
|
2016-03-12 00:12:59 +01:00 |
|