Make the default permission authenticated users can view and cancel

Created on 3 December 2016, over 7 years ago
Updated 9 March 2024, 4 months ago

Problem/Motivation

When a user enables the module and tries to use it by creating a poll, the immediate experience after creating the first poll and attempting to test it (in another user account) is 'this is not working'. This is because the default permissions enable viewing ht poll for only administrators.

In order to test the poll the administrator must add authenticated users on the permissions page. This is far from intuitive.

Proposed resolution

Authenticated users should have the ability to view polls by default.

If the goal is to have polls that are not published then the entity should include published and unpublished states, this should not be done with permissions.

Remaining tasks

Write patch

User interface changes

Authenticated users should be able to see polls.

API changes

?

Data model changes

?

✨ Feature request
Status

Closed: works as designed

Version

2.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States tkoleary

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • ivnish Poland

    @Berdir, I think we can make a quick decision here. "Make" or close the issue :)

  • πŸ‡§πŸ‡ͺBelgium BramDriesen Belgium πŸ‡§πŸ‡ͺ

    Personally I would not do this. If we follow the principle of least privilege (POLP) this should be done manually by the developer/site builder.

    What we can do is display a message on module install with a link to the permission page (you can filter on module normally)

  • Status changed to Closed: works as designed 4 months ago
  • πŸ‡§πŸ‡ͺBelgium BramDriesen Belgium πŸ‡§πŸ‡ͺ

    Actually a message is already being shown upon module install.

    Module Poll has been enabled. Configure related permissions.

Production build 0.69.0 2024