Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No access to MetaModels for user groups but the admin #1331

Open
4 tasks done
mpitz opened this issue Aug 6, 2019 · 4 comments
Open
4 tasks done

No access to MetaModels for user groups but the admin #1331

mpitz opened this issue Aug 6, 2019 · 4 comments
Assignees
Labels
Up for discussion This ticket will be up for discussion in one of our next calls
Milestone

Comments

@mpitz
Copy link

mpitz commented Aug 6, 2019

Checklist before I submit this issue report

I confirm that:

My environment is:

Key Value Comments
PHP version: 7.3
Contao version: 4.4.41
MetaModels version: 2.1.4
Installed MetaModels packages: bundle_all
DC_General version: 2.1.3

Issue description

Under "User groups" > "Edit group" in the "Back end modules" section, it is not possible to select MetaModels under MetaModels. You can only select "Support MetaModels". So no user but the admin can access the MetaModels "Creation Panel".

Screenshots

image

@zonky2 zonky2 added the bug A bug! A bug! Fast, squish it! label Aug 6, 2019
@zonky2 zonky2 added this to the 2.1.5 milestone Aug 6, 2019
@zonky2
Copy link
Contributor

zonky2 commented Aug 6, 2019

same at our test case :(

@discordier
Copy link
Member

And this is by design. The creation panel is only to be used by admins as no regular user will should be able to manipulate the:

  1. Database
  2. Backend modules
  3. Permissions

@zonky2 zonky2 modified the milestones: 2.1.5, Future Aug 7, 2019
@zonky2 zonky2 added Up for discussion This ticket will be up for discussion in one of our next calls and removed bug A bug! A bug! Fast, squish it! labels Aug 7, 2019
@zonky2
Copy link
Contributor

zonky2 commented Aug 7, 2019

The creation panel is only to be used by admins as no regular user will should be able to manipulate the

We should discuss whether the restriction should remain that way or not. In Contao I think you can also unlock everything for a user group...

@discordier
Copy link
Member

Not everything but yeah, we can discuss the pro and cons.
It was visible to all in prior versions way back in time and restricting it to a certain group/user wasn't worth the hassle and we came to the conclusion that only admins will manipulate them anyway.

Would be interesting to know the usecase here. @mpitz could you elaborate why a non admin should be able to manipulate MetaModels?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Up for discussion This ticket will be up for discussion in one of our next calls
Projects
None yet
Development

No branches or pull requests

3 participants