Skip to content

roles: bundleLevelAccessControl; installation error (?) #1857

@Eveltjen00

Description

@Eveltjen00

When for a specific role, in the profile.xml we want to specify restrictions:

<bundleLevelAccessControl>
<permission table="ca_objects" bundle="ca_attribute_publishedRecord" access="read"/>
<permission table="ca_objects" bundle="ca_attribute_description" access="read"/>
</bundleLevelAccessControl>

after installation we get this error:

processRoles: Could not add bundle level access control for table 'ca_objects' and bundle 'ca_attribute_publishedRecord'. Check the table and bundle names.

processRoles: Could not add bundle level access control for table 'ca_objects' and bundle 'ca_attribute_description'. Check the table and bundle names.


I've double checked the names for spelling errors and I've double checked in the defined elementSets both of the examples are linked to ca_objects in typeRestrictions. The code looks as defined in the manual https://camanual.whirl-i-gig.com/providence/user/administration/control.

Maybe it's linked to the similar error message on source level access control?
https://support.collectiveaccess.org/d/302121-installation-errors-on-exported-xml-source-level-access-control

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions