Task #5295
openApplication needs to be able to configure time granularity
100%
Description
time granularity is currently at the second level. we should allow an application to determine what granularity to use, eg. second, 5 seconds, 10 seconds, 30 seconds, 1 minute, 5 minute, etc.
Updated by Suravi Regmi 2 days ago
- Assignee set to Suravi Regmi
- % Done changed from 0 to 100
Access control defines authorization.
For example, Alice is given access to data from 9:15 AM to 10:15 AM. This means she should not receive any data outside of this time window.
Why do we have CK?
CK (Content Key) is used to encrypt data according to the granularity specified in the access control policy.
This ensures that:
The user can access all data they are authorized to.
They cannot access any data outside of their allowed window.
Time granularity is set by controller(Access Control) and also producer(CK Granularity).
Relationship Between Access Control Granularity and CK Granularity
| Access Control \ CK | second | min | hour |
|---|---|---|---|
| second | ✓ | ✗ | ✗ |
| min | ✓ | ✓ | ✗ |
| hour | ✓ | ✓ | ✓ |
Controller sets granularity. Producer uses the same.
Producer may use finer granularity than the controller, but never coarser.