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
{{ message }}
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.
Hey,
I'm about to add permissions and groups to ngFrame, but there is one problem.
In Drywall, according to the schemas you have an Array of groups and permissions.
In Frame you can push whatever to permissions and the groups are not an array after all.
I also don't see a way to update/delete permissions.
So what I actually want:
/admins/{id}/permissions:
A way to delete and update (update for permit true/false).
A solid schema, so I cant override the permission array and add any attributes.
/admins/{id}/groups:
Should be an array, is an object and can also be overridden (this could be anything groups: Joi.object().required()).
If you got any questions ask me any time :)
The text was updated successfully, but these errors were encountered:
Yeah the models are a bit different in Frame than in Drywall. Essentially we just want an object where the keys are the permissions and the values are booleans (true if permitted and false otherwise).
{MAY_LAUGH: true,MAY_TELL_JOKES: false}
If you haven't checked out Aqua, please do. It started as Frame and is implemented with React and Flux.
Don't let Frame get in your way. Feel free to change it to best suit your needs.
Hey,
I'm about to add permissions and groups to ngFrame, but there is one problem.
In Drywall, according to the schemas you have an Array of groups and permissions.
In Frame you can push whatever to permissions and the groups are not an array after all.
I also don't see a way to update/delete permissions.
So what I actually want:
/admins/{id}/permissions
:A way to delete and update (update for permit true/false).
A solid schema, so I cant override the permission array and add any attributes.
/admins/{id}/groups
:Should be an array, is an object and can also be overridden (this could be anything
groups: Joi.object().required()
).If you got any questions ask me any time :)
The text was updated successfully, but these errors were encountered: