Default permissions for view and publish on any site.

Created on 25 July 2024, 6 months ago

Problem/Motivation

Two default permission issues:

  1. Users with publish on any site do not see "Other Sites" field and cannot publish on any site.
  2. When embedding or referencing content, unless the content is also published on the "current" site, the content cannot be previewed or linked to.

Proposed resolution

  • In userCanCrossPublish first check for hasPermission('publish on any site') followed by 'publish on any assigned site'
  • In nodeAccess add check if user has global view access content permissions.

Data model changes

Allow to link and preview content if it is published on at least one site, instead of forcing to also publish related content on each related site from where the content needs to be linked from.

πŸ› Bug report
Status

Needs review

Component

Code

Created by

πŸ‡ΈπŸ‡¦Saudi Arabia martins.bruvelis Thuwal

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024