Hello,
we have created a few Profiles with different s level of access.
We restrict the Class Person to read only for everyone.
But now the user cannot upload their profile picture and change avatar in the preference.
Same on the page "My-Account" i'm not able to change my informations, email, phone, etc
Can we allow the user to edit only his Person object ?
Thank's
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Guillaume,
No there is no option, to only allow a User to edit only his own person.
Or at least no easy solution, as with an extension and a CheckToWrite on the Person, you can block any creation/modification after the user submission, but it is not user friendly.
But it's a bit of a shame that this is not possible out of the box, as there is a technical way to overwrite the User right on a particular action using $this->AllowWrite().
In fact it is coded this way on the UserPortal when editing your own Person, so your Users could switch to the User Portal and there edit their information, have you tried ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
we have created a few Profiles with different s level of access.
We restrict the Class Person to read only for everyone.
But now the user cannot upload their profile picture and change avatar in the preference.
Same on the page "My-Account" i'm not able to change my informations, email, phone, etc
Can we allow the user to edit only his Person object ?
Thank's
Hello Guillaume,
No there is no option, to only allow a User to edit only his own person.
Or at least no easy solution, as with an extension and a CheckToWrite on the Person, you can block any creation/modification after the user submission, but it is not user friendly.
But it's a bit of a shame that this is not possible out of the box, as there is a technical way to overwrite the User right on a particular action using $this->AllowWrite().
In fact it is coded this way on the UserPortal when editing your own Person, so your Users could switch to the User Portal and there edit their information, have you tried ?
Hi Vincent,
Thank's for your answer.
So i need to allow everybody the write permission on my Person class ? So they can edit everybody person object ?
We are not using the userportal, only the console :/