Skip to content

Allow setting style editing permissions in downstream projects via canEdit #10816

@dsuren1

Description

@dsuren1

Description

Currently, MS determines style editor permissions based on editingAllowedRoles and editingAllowedGroups. However, in applications like GeoNode, the permission structure differs. Therefore, a mechanism is required to set permissions for allowing or restricting style editing in downstream projects using the canEdit in StyleEditor plugin

export const canEditStyleSelector = (state) => {
...
-  return isAllowed && _isSameOrigin;
+  return canEdit || (isAllowed && _isSameOrigin);
};

Other useful information

Metadata

Metadata

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions