Skip to content
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

Add time constraints to WAC rules #87

Open
justinwb opened this issue Jul 29, 2019 · 4 comments
Open

Add time constraints to WAC rules #87

justinwb opened this issue Jul 29, 2019 · 4 comments
Assignees

Comments

@justinwb
Copy link
Member

The current Web Access Control Spec lets you create rules to control whether an agent or group of agents can access resources, and to specify specific modes of access (read, write, append, control). However, it doesn't allow for the specification of when these accesses are permitted.

In the simplest (and perhaps most useful) use case, this would allow for expiry of a given authorization rule. For example, a user wants to grant temporary access to someone, and creates an authorization rule that expires in twenty-four hours. However, other use cases could call for the ability to specify when the rule activates, or involve the ability to limit access to a certain time window each day, etc.

@dmitrizagidulin
Copy link
Member

👍 , would be a great feature.

@kjetilk
Copy link
Member

kjetilk commented Jul 31, 2019

Actually, I have a PR open that is related: #37 (although it was geared towards caching, we could clarify the semantics to deal with some of this)

@csarven
Copy link
Member

csarven commented Aug 16, 2019

Expiry sounds good. "Valid" "from/to" or "not before/after" seems fine too.

Just to add to scenarios where this can be useful from an application's perspective: going in/out of offline mode. Knowing the time-based constraints can help an application decide what to do next (eg. dokieli/dokieli#259 (comment) ) especially if it makes sense to expose that information through WAC-Allow.

@csarven csarven self-assigned this May 17, 2021
@csarven
Copy link
Member

csarven commented Jul 1, 2021

This issue is mostly a duplicate of #10 and it'd be good to take it up around the same time with that and Kjetil's related PR: #37

The essence of this and relate issue is captured in WAC Editor's Draft: https://solid.github.io/web-access-control-spec/ . See #authorization-extensions .

Moving this issue to https://github.com/solid/web-access-control-spec for future discussion.

@csarven csarven transferred this issue from solid/specification Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants