Task #5356
closedDiscussion on ck and time based access control granularity
100%
Description
Ck granularity and access control unix timestamp granularity.
Iterdependence and discussion on the granularity needed.
ck sharing amongst data generated at different seconds might have to be changed perhaps?
Updated by Suravi Regmi 13 days ago
- Status changed from New to Resolved
CK granularity is set at producer.
Access control granularity is set at controller.
If ck granularity is finer than access control granularity it works fine.(Eg: CK is at minute level and Access Control at hour, If access control mentions to give access to data created after 9 am and before 10am no issue is encountered)
But if access control granularity is finer than ck we encounter issue.(Eg: Access control is at minute and CK is at hour, If access control mentions to give access after 9:30 then we would need to either ceil or floor the Access control granularity to match CK grnularity which gives access to unauthorized data)
Solution: Controller sets the granularity(seconds, mintues, hour) and producer follows its lead and sets the same granularity.