fix(32): WR-07 close the relation and partial routes of hidden owner fields
Hide removed an owner field from the schema, show and save, but a hidden relation-manager field's relation routes (panel, link, unlink, child CRUD, deferred commit) and a hidden partial field's partial stayed reachable. dropHiddenFields now drops the relation and the partial path too; a partial the list or preview header or another field still uses keeps rendering.
This commit is contained in:
@@ -481,7 +481,9 @@ const (
|
||||
// only when that plugin is in the contributor's Requires().
|
||||
//
|
||||
// Hide lists owner fields the form leaves out for everyone: they leave the
|
||||
// schema, show and save, and a tab without fields disappears. Permissions
|
||||
// schema, show and save, a hidden relation-manager field's relation routes
|
||||
// and a hidden partial field's record render answer 404, and a tab without
|
||||
// fields disappears. Permissions
|
||||
// are backend permission codes an administrator needs to see the extension's
|
||||
// fields; Visible, when set, is asked per request as well. An administrator
|
||||
// who fails either gets none of the fields in the schema or the record, and a
|
||||
|
||||
Reference in New Issue
Block a user