Permissions#
The six permissions the package declares, and who holds them after a default install.
Permission id |
Title |
Roles site-wide |
|---|---|---|
|
Add User Profile |
nobody |
|
Add User Group |
nobody |
|
Edit Profile |
Manager, Site Administrator |
|
Edit Profile Group Membership |
Manager, Site Administrator |
|
View Profile |
Manager, Site Administrator |
|
View Personal Identifiable Information |
Manager, Site Administrator |
Every one is declared with acquire="False".
Why the two add permissions are granted to nobody#
That is deliberate, not an oversight.
Both content types are addable in exactly one place: the container the registry
names for them, where the package grants the permission to Manager and Site
Administrator locally. Granting it site-wide as well would make every folder
in the site a place a UserProfile can be created, which is the thing being
prevented.
Why acquire="False" matters even with no roles listed#
A permission nobody mentions is not a permission nobody has. Zope falls back to whatever the object acquires, so the answer would change with where the folder happens to be. Stating the permission with no roles pins it.
The three field permissions#
content.edit, content.editgroups and content.view are field permissions
declared on the Profile schema. Each is also managed by user_profile_workflow,
which decides who may read and write a Profile in each of its states.
The rolemap entries above are the site-wide floor for anywhere the workflow does not reach.
Group membership is its own permission#
content.editgroups is separate from content.edit and is never granted to
the profile's owner, in any state.
group_ids decides which groups a user is in, so writing it is granting yourself
roles.
Personal information is its own permission#
content.viewpii is separate from content.view so a site can let members find
each other without publishing everybody's email address.
The workflow never grants it to Member, in any state.
Permissions this package uses but does not declare#
Permission |
Used by |
|---|---|
|
the provider and client control panels, the audit log, driver listing, key rotation |
|
|
See Endpoints for which endpoint enforces which.