feat: Divi tools write library entries; global ones with dry run, confirm and backup (E2, F2)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -181,6 +181,12 @@ final class ExposurePolicy
|
||||
return isset($this->readonlyGroups[$group]);
|
||||
}
|
||||
|
||||
/** Whether abilities of $group may write: the group is neither "nur lesen" nor disabled as a whole. */
|
||||
public function groupWritable(string $group): bool
|
||||
{
|
||||
return ! $this->isReadonly($group) && $this->groupMode($group) !== self::DISABLED;
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether $group is switched on at all: not disabled as a whole ("nur lesen" still reads). The
|
||||
* group "Divi-Bibliothek" disabled hides library entries from the Divi read tools (ruling P9).
|
||||
|
||||
Reference in New Issue
Block a user