Repository navigation
Design & Architecture: a share is an anonymous way to login #401
EdouardVanbelle
started this conversation in
Ideas
Replies: 1 comment
|
Hi, |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello with the ReBAC model recently added, I am working on the fusion with ReBAC and current Share (the legacy)
I am exporing this way: a Share (aka a Token) is a way to authenticate to the system, that will open dors to browse
Subject::User(uuid) → authenticated via JWTSubject::Token(uuid) → authenticated via share token(which can request a password)In the future I will add something like:
Subject::External(uuid | email) -> authenticate via email challenge or via self issued OIDCFor security reasons I consider that an Token (anonymous) will always have Readonly permission, if you want write access then
Subject::Externalcan help you, that will facilitate audit/logs tooIf any though, feel free
cc @DioCrafts
That will simplify the API /api/s/... (currently there are duplicates with /api/folders/...)
It will also ease the usage of 1 uniq component (
ResourceListComponent) to display files and folderscc @abnvle it may change your proxy (it will be harder to isolate shares vs classic users)
Eventually a simple check on the Auth way can solve this case
All reactions