framework icon indicating copy to clipboard operation
framework copied to clipboard

Setup a capabilities configuration file

Open jlambe opened this issue 8 years ago • 2 comments

Propose a structure in order to define a list of capabilities and to which roles they have to be associated.

jlambe avatar Jan 29 '17 16:01 jlambe

This feature cannot be scheduled for the next release. However I think we should provide a console command to handle the capabilities as for now, WordPress needs 2 http requests to take them into account: the first one just to store/update the capabilities list in the options table and the second request where new capabilities are taken into account for the application.

Leveraging a console command will make sure that at user first request, the capabilities are set.

jlambe avatar Nov 07 '18 15:11 jlambe

Need to look how this can also be merged with authorization mechanism from Laravel.

jlambe avatar Mar 05 '19 09:03 jlambe