I would like to start a discussion about openfga here.
A while back I submitted this PR for a very simple model that does everything that coact needs (at present):
#11
@yee379 committed this model along with a description: https://github.com/slaclab/coact-api/tree/main/schema
I generally fall into the camp of less is more at first, and I think getting too fine grained (i.e., a type for slurm_job, audit_trail, notification) can cause some problems with the amount of tuples we are storing in the database and complexity on first implementation (how do we gather all this information?).
However my model is too simple, I think, so there is some middle ground I think we could definitely reach by discussing it here. Since I do not have the entire landscape of authz at SLAC in my head (like I know @yee379 does 😏) would it be possible to list these sources/links to code that sets them up here as a starting point?
If we don't want to make this a public issue, we can move it to a different repository.
I would like to start a discussion about openfga here.
A while back I submitted this PR for a very simple model that does everything that coact needs (at present):
#11
@yee379 committed this model along with a description: https://github.com/slaclab/coact-api/tree/main/schema
I generally fall into the camp of less is more at first, and I think getting too fine grained (i.e., a type for slurm_job, audit_trail, notification) can cause some problems with the amount of tuples we are storing in the database and complexity on first implementation (how do we gather all this information?).
However my model is too simple, I think, so there is some middle ground I think we could definitely reach by discussing it here. Since I do not have the entire landscape of authz at SLAC in my head (like I know @yee379 does 😏) would it be possible to list these sources/links to code that sets them up here as a starting point?
If we don't want to make this a public issue, we can move it to a different repository.