Closed ndushay closed 5 years ago
Note that at this time, we have __tests__/__fixtures__/stanfordGroupAcl_2Users.ttl
that can be used as a fixture for playing; we would want a better fixture to use for realz, or to create the graph via a function (#22)
@mjgiarlo I believe this is done so I am closing. Please reopen if i am wrong.
essentially, we want only the admin webid(s) to be enabled for Control and Write for webACL of root container. We do want world read access, tho.
I believe the sequence would be something like:
what is the correct graph?
So the ttl would look something like
Not sure it makes sense to do this as a function (See #22) or if we should have a fixture file that only needs the agent triples added based on settings for admin user webid(s) in config/default.js.
If we use the fixture file approach, the fixture file would be:
auth/auth concerns
See #5
Note that in production, we will need to use a real webid string and use JWT to pass accessToken to cognito; it is possible this is figured out in LD4P/sinopia_server#77. If there is no straightforward way to do this yet, we could use basic auth and cmharlow webid as admin user for now, and split this into separate ticket.
Note that we probably want Michelle and the devs with admin access (as default config setting)