Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

structure/contents: false behavior when no adequate roles

Open
#673 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript

Research direction

Start by reproducing the reviewer-only scenario in the toolbar, upload flow, drag-and-drop rearrangement, and contentlisting selection described in the issue. Trace how these controls are enabled after selecting items and compare that with the user's available permissions. Done means unavailable actions remain disabled and do not lead to permission errors.

Written by the indexing model from the issue text.

Description

01 type: bug 02 type: regression 99 tag: pattern:structure

In such cases the add new... button does not show up in the toolbar (correct behavior)

Plone 5.1 branch

upload button should be deactivated

In such cases the add new... button does not show up in the toolbar (correct behavior)
steps to reproduce:

  • create user with e.g. reviewer role (no contribute role/ add permission)
  • Click activated Upload button
  • select items to upload
  • you are notified : you are not allowed ....

same for rearrange button ...

drag and drop to rearrange should be disabled in such cases

select items in the contentlisting:

delete, cut and other buttons get activated but lead to errors of course

Dominant language
JavaScript
Stars
57
Forks
103
Avg merge
13h 4m
Merged PRs (30d)
15

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from plone/mockup

All issues in plone/mockup

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.