nextcloud / documentation

📘 Nextcloud documentation
https://docs.nextcloud.com
Other
490 stars 1.72k forks source link

Implement (or document) OCS API for Workflow Access Control List (ACL) feature #11119

Open davidchristopherbuchanan opened 4 years ago

davidchristopherbuchanan commented 4 years ago

As it looks for me, there is no no way to access the Access Control List (ACL) feature for folder by remotecontrol. I would expect it in OCS API. But i cannot find it.

Can you implement it?

This is my use case: I program in a small team a software to generate template structures in nextcloud for similar workgroups on different locations. They have all the same workflow. E.g. if a new work group starts, they shall have a predefined folder structure. Some people are admins, some have only read only status. ACL seems the right tool for us to allow to share files within groups as well as other groups. A manually configured setup works fine for us. We made a webfrontent, to allow the management to create this structure by a simple button.

In Backgroup, Users are created and synchronized by LDAP feature. With OCS REST API it works great to make folders automatically. But we could not find a way to set the ACL rights automatically.

To impement it, we use KOTLIN as programming language. Our project is opensouce. It is named feather and feather frontend and is published in gitlab.

nickvergessen commented 4 years ago

The workflow rules are actually OCS routes: https://github.com/nextcloud/server/blob/master/apps/workflowengine/appinfo/routes.php#L26

I guess it's just missing some documentation. But since this is not related to this app, but the workflows in general, i will move it to the server repository.