Update project page info with correct default permissions when installing this module

Created on 3 November 2022, over 2 years ago
Updated 4 February 2025, 2 months ago

Problem/Motivation

Right now the different versions of this module (6.x 7.x 8.x) provide different default permissions when installed.
This is not clear from the project page where only (I think) the permissions for the drupal 6 version are stated (which are not complete looking at the code)

Proposed resolution

Make it more clear on the project page what permissions are created by default per module version when installing this module (see example text below).
Update drupal 6 permissions so it matches the permissions from the latest stable

Remaining tasks

Update project page text

When looking at the latest versions of each N.x branch the text can become then something like:

- - - - - - - - - - -

This very light-weight module allows additional permissions to be created and managed through a administration form. It uses the menu access system to allow or dissalow access to it.

On the administration page a user is able to create a permission with name and path(s).

These permissions can then be assigned to roles on the permissions page.

The name of the module has been changed from "Site Configuration Permissions" to "Custom Permissions" to reflect the current state of the module. The new name will be used in the 7.x version and above

8.x-2.x
Custom permissions use now routes instead of paths, this more friendly in how Drupal 8 works.

By default the following permissions are created:

Administer account settings
Administer date-time
Administer error logs
Administer file system

8.x-1.x
Custom permissions are now configuration entities, they are exportable via features and configuration manager.

By default the following permissions are created:

Administer account settings
Administer date-time
Administer error logs
Administer file system

Supporting organizations:
utiks

7.x-2.x
The 7 version of this module is a direct port of the 6.x-2.x version.

By default the following permissions are created:

administer account settings
administer clean-urls
administer date-time
administer error reporting
administer file system
administer performance
administer site information
administer site maintenance
display site structure menu
display site configuration menu
display site reports menu

6.x-2.x
Version 2.x allows additional permissions to be created and managed through a administration form.

On the administration page a user can set the permission name and permission path(s)

By default the following permissions are created:

administer administration theme
administer clean-urls
administer content node settings
administer date-time
administer error reporting
administer file system
administer modules
administer user profile fields
administer performance
administer site information
administer site maintenance
display site building menu
display site configuration menu
ο»Ώο»Ώ
It also got ctools exportables support meaning you can use the features to export permissions.

πŸ“Œ Task
Status

Needs review

Version

2.0

Component

Documentation

Created by

πŸ‡³πŸ‡±Netherlands undersound3

Live updates comments and jobs are added and updated live.
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.

  • πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA

    Thanks @undersound3. I can update the project page. I'm wondering if it's worth keeping the info for the older versions though. Assigning to myself since I'll be making a release soon.

Production build 0.71.5 2024