Skip to content

Permission view people #7002

Answered by NeuralClone
GandonNicolas asked this question in Q&A
Discussion options

You must be logged in to vote

I think this is working as intended. If you look at ContactAdmin and how permissions are checked, users need to have the EDIT permission to access Contacts:

public function configureViews(ViewCollection $viewCollection): void
{
if ($this->securityChecker->hasPermission(static::CONTACT_SECURITY_CONTEXT, PermissionTypes::EDIT)) {
$contactFormToolbarActions = [];
$contactListToolbarActions = [];
$contactDocumentsToolbarActions = [];
$contactDocumentsItemActions = [];
if ($this->securityChecker->hasPermission(static::CONTACT_SECURITY_CONTEXT, PermissionTypes::

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by GandonNicolas
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants