setResourceCreatePermissions() does not currently perform a strict enough early validation of the requested create permissions against the specified resource class.
Todo:
validate RESET_CREDENTIALS and IMPERSONATE system permissions only apply to authenticatable resource classes
setResourceCreatePermissions()
does not currently perform a strict enough early validation of the requested create permissions against the specified resource class.Todo:
RESET_CREDENTIALS
andIMPERSONATE
system permissions only apply to authenticatable resource classes