Skip to content

Example of default-permissions ist not working #59

@smashm

Description

@smashm

This point of the documentation describes how to configure default permissions per common.php
https://docs.humhub.org/docs/admin/permissions/#default-permissions

I tried that for as described for the default of creating a public spaces of new user groups, but the permission table don't show the expected result. (See discussion here: https://community.humhub.com/content/perma?id=253087)

return [
	'params' => [
                'defaultPermissions' => [
			'humhub\modules\space\permissions\CreatePublicSpace' => [ 
			\humhub\modules\user\models\User::USERGROUP_SELF => \humhub\libs\BasePermission::STATE_DENY,
			],
		],
	],
];

Not the first one with that problem: https://community.humhub.com/content/perma?id=240198

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions