I think wildcards on permissions are a really powerful way to specify default behavior that can be overridden. However, this is beyond the current implementation. For example:
Because of this normalized, inherited structure, it would be nice if graphcool info or another command would show you the 'effective' permissions for all types, so:
Issue by kbrandwijk Monday Oct 02, 2017 at 21:18 GMT Originally opened as https://github.com/graphcool/prisma/issues/723
I think wildcards on permissions are a really powerful way to specify default behavior that can be overridden. However, this is beyond the current implementation. For example:
So there are a few things here:
Another approach, inspired by https://www.graph.cool/forum/t/feedback-new-cli-beta/949/50?u=agartha, would be to even abstract this further, by adding 'permission definitions':
Because of this normalized, inherited structure, it would be nice if
graphcool info
or another command would show you the 'effective' permissions for all types, so: