-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question/Discussion] Add ”auth hooks” for extended permission controls in the virtual file system? #24877
Comments
@icewind1991 has a presentation somewhere |
always a good practive 😉 |
I honestly don't see the use case. A user has a client cert and this cert is used for auth. |
Closing due to lack of feedback. |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Background and use case:
I’m looking for a way to add ”auth hooks” for extended permission controls to the virtual file system that could for example be utilized by client certificates to control access on multiple levels.
Questions that maybe a core developer may know the answer to:
Is there a conceptual description of the virtual file system (as "core/lib/private/Files/Filesystem.php" and friends) or is it reverse engineering à la "study the source code" that applies?
Ref: https://github.com/owncloud/core/tree/v9.1.0beta1/lib/private/Files
Regarding https://github.com/owncloud/core/wiki/ownCloud-9.1-Features that really caught my mind was:
a). Does that mean you can start working on client certificate authentication i.e use certificate attributes in the login process using "Pluggable Auth"?
b). Btw, does anyone know if the internal virtual filesystem utilizes some kind of general authentication and permission control on the file level (besides add, change and delete). If not, would it be possible to implement a similar "Pluggable Auth" on the virtual file system with a decent amount of work?
Would be very grateful for any kind of pointers regarding this or info about test cases (or apps) that utilize permission control on the file system level...
Regarding: https://github.com/owncloud/core/blob/v9.1.0beta1/lib/private/Files/Node/File.php
I noticed some "hooks" (preHooks, postHooks) in the code above. Are they available to use as extended permission controls?
The text was updated successfully, but these errors were encountered: