Problem/Motivation
Despite having placed an entity limit of 1 on the admin role (for a specific content type), all of my admins are able to create more than 1 of the limited entity.
Steps to reproduce
- Create entity limitation of 1 on the admin role for a content type.
- Add content of the limited content type (as any admin)
- Continue adding content past the allowed limit
Proposed resolution
Maybe we should just get rid of the admin selection in the role dropdown, instead of trying to make limitations on admin a feature.
Comments
Comment #2
megakeegman commentedComment #3
megakeegman commentedComment #4
wasare commentedWhen you said "admin role" this meaning the default admin role from drupal? Maybe it is working as expected because the "drupal admin role" is just for "super admin" only. To limit your admin users the recommended is create a specific role for that setting the all permissions if needed.
Could you confirm if it your case?
Comment #6
wasare commentedLater i realized your propose. In fact it is working as designed, but the config UI makes confuse.
I fixed this both cases when limiting by admin role and by users with admin role.