Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/groupfolders.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-11chore(Middleware,Service): Clean vars not usedBaptiste Fotia
I deleted vars that are no longer used and sort the namespaces by ascendant order. Signed-off-by: Baptiste Fotia <fotia.baptiste@hotmail.com>
2022-10-10Refactor DelegationServiceCarl Schwan
Use a consistent way to define api only users using delegation service with a custom class name. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-10Fix php code styleCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-05fix(Service): Check users by class name delegationBaptiste Fotia
Check if a user is in the group of the class name of admin delegation and not by appconfig with the delegated-admins key. Signed-off-by: Baptiste Fotia <fotia.baptiste@hotmail.com>
2022-10-03chore(cs): Apply cs:fixBaptiste Fotia
Signed-off-by: Baptiste Fotia <fotia.baptiste@hotmail.com>
2022-10-03chore(lock): Exucted git reset "Apply the format after 'php-cs-fixer fix .' ↵Baptiste Fotia
cmd". Signed-off-by: Baptiste Fotia <fotia.baptiste@hotmail.com>
2022-09-27docs(Service, Settings): Replace the PHPDOCs by propsBaptiste Fotia
Please, look at the Carl's comments: https://github.com/nextcloud/groupfolders/pull/2072#discussion_r979908298 and https://github.com/nextcloud/groupfolders/pull/2072#discussion_r979907709 Signed-off-by: Baptiste Fotia <fotia.baptiste@hotmail.com>
2022-09-26doc(Controller, Service): Replace all phpdoc by propsBaptiste Fotia
Following this comment by Carl: https://github.com/nextcloud/groupfolders/pull/2072#discussion_r976413038 Signed-off-by: Baptiste Fotia <fotia.baptiste@hotmail.com>
2022-09-19feat(PHP): Allow users API/REST only to use functions from FolderController.phpBaptiste Fotia
The DelegatedAdminsMiddleware.php middleware allows users who only have access to the groupfolders API/REST to use the functions of FolderController.php without event using the Delegation Admin from settings. It's a bit like a 'function overloading' : https://www.wikiwand.com/en/Function_overloading Signed-off-by: Baptiste Fotia <fotia.baptiste@hotmail.com>
2022-09-19Fix rebasing issuesCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Baptiste Fotia <fotia.baptiste@hotmail.com>
2022-09-19feat(PHP): Explode the isAdmin functionBaptiste Fotia
I exloded the isAdmin function in 2 functions : isAdmin() to check if an user is admin or admin from 'delegated-admins' of appconfig And isSubAdmin() function to check if an user is in the group from delegated-sub-admins of appconfig Signed-off-by: Baptiste Fotia <fotia.baptiste@arawa.fr> Signed-off-by: Baptiste Fotia <fotia.baptiste@hotmail.com>
2022-09-19feat(PHP, TS) Apply the the code allow-admin-delegation-stable21 branch for ↵Baptiste Fotia
stable23 I transposed the code from the allow-admin-delegation-stable21 branch to allow-admin-delegation-stable23 Signed-off-by: Baptiste Fotia <fotia.baptiste@arawa.fr> Signed-off-by: Baptiste Fotia <fotia.baptiste@hotmail.com>