Skip to content

Commit

Permalink
- Prevent the Zope 4 ZMI from showing an add dialog for the user fold…
Browse files Browse the repository at this point in the history
…er (fixes #82)
  • Loading branch information
dataflake committed Apr 11, 2019
1 parent c0384c3 commit 532da76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGES.rst
Expand Up @@ -6,6 +6,9 @@ For changes before version 3.0, see ``HISTORY.rst``.
4.0b7 (unreleased)
------------------

- Prevent the Zope 4 ZMI from showing an add dialog for the user folder
(`#82 <https://github.com/zopefoundation/AccessControl/issues/82>`_)

- Add support for Python 3.8


Expand Down
1 change: 1 addition & 0 deletions src/AccessControl/userfolder.py
Expand Up @@ -373,6 +373,7 @@ class UserFolder(BasicUserFolder):
users and binding them to a collection of roles."""

meta_type = 'User Folder'
zmi_show_add_dialog = False
id = 'acl_users'
title = 'User Folder'

Expand Down

0 comments on commit 532da76

Please sign in to comment.