close

Filter

loading table of contents...

Release Notes / Version 12.2406.4

Table Of Contents

Studio REST API: Rule lists now include the rules of administratoren

The Studio Server REST requests {{GET content/

{id}/rules}} and {{GET group/{id}

/rules}} no longer omit the rules of the group administratoren, the standard administrative group. This way the REST API matches the Unified API, and Studio-specific deviations are implemented in the Studio client. Accordingly, hiding the rules of administratoren is now done in the Studio client's User Manager.

In the Studio client, this affects the rule lists returned by Content.getRules(), Group.getRules() and ContentAccessControl.getRulesForContent()/getRulesForGroup(). They now include the rules of administratoren, too. If a customization reads these rule lists and must not consider administratoren rules, it has to filter them itself, for example with rule.getGroup().isSuperGroup(). This is particularly important for code that deletes or rewrites rules based on such a list, so that it doesn't unintentionally delete the rules of administratoren.

(CMS-32218)

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.