You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
To be able to show when a relationship was created (or indeed an attribute added/modified) is very useful when creating management APIs/UIs in your application.
This gives administrators an "at a glance" view of when things changed in the access they are managing (without having to dive into often-complex audit logs).
Describe the solution you'd like
Similar to the READ API in OpenFGA, storing and returning timestamps for relationship tuples would faciliate this greatly.
Adding the tuple and attribute modification timestamps to the read APIs could look like this:
{
"attributes": [
{
"entity": {
"type": "<string>",
"id": "<string>"
},
"attribute": "<string>",
"value": {
"@type": "<string>"
},
"timestamp": "2021-10-06T15:32:11.128Z"# <-- New field here
}
],
"continuous_token": "<string>"
}
It would also be extremely useful to be able to "spoof" the modification timestamps when writing tuples, to facilitate migration from other authorization systems, or otherwise be the authority on modification timestamps in your app (perhaps from a company-wide central time authority).
Describe alternatives you've considered
It's possible to create "dummy entities" with attributes to store this data, but it adds significant complexity to the application code read pathways.
Additional context
For example our groups management page here at CircleCI (where we are currently evaluating a swich from our in-house authorization engine to Permify):
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Is your feature request related to a problem? Please describe.
To be able to show when a relationship was created (or indeed an attribute added/modified) is very useful when creating management APIs/UIs in your application.
This gives administrators an "at a glance" view of when things changed in the access they are managing (without having to dive into often-complex audit logs).
Describe the solution you'd like
Similar to the READ API in OpenFGA, storing and returning timestamps for relationship tuples would faciliate this greatly.
Adding the tuple and attribute modification timestamps to the read APIs could look like this:
It would also be extremely useful to be able to "spoof" the modification timestamps when writing tuples, to facilitate migration from other authorization systems, or otherwise be the authority on modification timestamps in your app (perhaps from a company-wide central time authority).
Describe alternatives you've considered
It's possible to create "dummy entities" with attributes to store this data, but it adds significant complexity to the application code read pathways.
Additional context
For example our groups management page here at CircleCI (where we are currently evaluating a swich from our in-house authorization engine to Permify):
The text was updated successfully, but these errors were encountered: