You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then I created a new Plone site and finally I went to portal_setup/manage_tarballImport and uploaded my modified tar-gzipped userschema.xml file.
When I create a new user that does not have the cmf.ManagePortal permission,
the field is in the @@personal-information view and it is editable and saveable.
So that doesn't work. Further, if I re-export the plone.app.users.setuphandlers.export_schema from portal_setup, I see the the userschema.xml file does not have my security:read|write-permission attributes that I imported it with.
Is there any way to achieve this?
The text was updated successfully, but these errors were encountered:
Is is possible to apply supermodel security attributes, i.e. https://docs.plone.org/external/plone.app.dexterity/docs/reference/dexterity-xml.html#read-permission-write-permission?
What I'm trying to do is hide a field from users who do not have the required permission.
I tried the following:
I created a custom field TTW, then exported the
plone.app.users.setuphandlers.export_schema
fromportal_setup
.Then I added a
security:read-permission
to the field like this:Then I created a new Plone site and finally I went to portal_setup/manage_tarballImport and uploaded my modified tar-gzipped userschema.xml file.
When I create a new user that does not have the
cmf.ManagePortal
permission,the field is in the @@personal-information view and it is editable and saveable.
So that doesn't work. Further, if I re-export the
plone.app.users.setuphandlers.export_schema
fromportal_setup
, I see the the userschema.xml file does not have mysecurity:read|write-permission
attributes that I imported it with.Is there any way to achieve this?
The text was updated successfully, but these errors were encountered: