Skip to content

Make visibility info accessible for regular users #1730

Description

@CalamityC

Description

Visibility info is not displayed for regular users in project detail view.

History

An old PR was closed. (#1710)

Start to work on it freshly in week 37
after these PRs are merged:

#1715
#1719

References from original PR

Jochens comments:

I think, the actual problem is that regular users cannot view the visibility object. The problem needs to be fixed in https://github.com/rdmorganiser/rdmo/blob/3.0.0/release/rdmo/projects/rules.py#L94 not in the front-end.

Ok, the easy part is to use

rules.add_perm('projects.view_visibility_object', is_project_member | is_visible | is_site_manager)

in rdmo/projects/rules.py and

if (permissions.can_view_visibility) {
   store.dispatch(projectActions.fetchProjectVisibility(projectId))
 }

in rdmo/projects/assets/js/project/store/configureStore.js.

The bigger problem is that site_managers cannot access /api/v1/core/sites/ and /api/v1/core/groups/. Lets talk about it in the meeting.

Activity

  1. self-assigned this
    on Aug 27, 2026
  2. added this to the RDMO 3.0.0 milestone on Aug 27, 2026
  3. added theissue type on Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions