File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ With `plone.autoform` and `plone.supermodel` we can use directives to add inform
148
148
By default, fields are included in the form regardless of the user's permissions.
149
149
Fields can be protected using the ` read_permission ` and ` write_permission ` directives.
150
150
The read permission is checked when the field is in display mode, and the write permission is checked when the field is in input mode.
151
- The permission should be given with its Zope 3-style name ( such as ` cmf.ManagePortal ` instead of ` Manage portal ` ) .
151
+ The permission should be given with its Zope 3-style name, such as ` cmf.ManagePortal ` instead of ` Manage portal ` .
152
152
153
153
In this example, the ` secret ` field is protected by the ` cmf.ManagePortal ` permission as both a read and write permission.
154
154
This means that in both display and input modes, the field will only be included in the form for users who have that permission:
@@ -165,7 +165,7 @@ class IMySchema(model.Schema):
165
165
)
166
166
```
167
167
168
- In supermodel XML the directives are ` security:read-permission ` and
168
+ In supermodel XML, the directives are ` security:read-permission ` and
169
169
` security:write-permission ` :
170
170
171
171
``` xml
You can’t perform that action at this time.
0 commit comments