Builds a modal dialog for editing permissions, using acl_selector.tpl as the template.
- Parameters
-
| array | $defaults | Optional access control list for the initial state of the dialog. |
| boolean | $show_jotnets | Whether plugins for federated networks should be included in the permissions dialog |
| \Zotlabs\Lib\PermissionDescription | $emptyACL_description | - An optional description for the permission implied by selecting an empty ACL. Preferably an instance of PermissionDescription. |
| string | $dialog_description | Optional message to include at the top of the dialog. E.g. "Warning: Post permissions cannot be changed once sent". |
| string | $context_help | Allows the dialog to present a help icon. E.g. "acl_dialog_post" |
| boolean | $readonly | Not implemented yet. When implemented, the dialog will use acl_readonly.tpl instead, so that permissions may be viewed for posts that can no longer have their permissions changed. |
- Returns
- string html modal dialog built from acl_selector.tpl
Referenced by Zotlabs\Module\Pubstream\get(), Zotlabs\Module\Article_edit\get(), Zotlabs\Module\Card_edit\get(), Zotlabs\Module\Display\get(), Zotlabs\Module\Articles\get(), Zotlabs\Module\Cards\get(), Zotlabs\Module\Editwebpage\get(), Zotlabs\Module\Webpages\get(), Zotlabs\Module\Network\get(), Zotlabs\Module\Rpost\get(), Zotlabs\Module\Hq\get(), Zotlabs\Module\Wiki\get(), Zotlabs\Module\Filestorage\get(), Zotlabs\Module\Channel\get(), Zotlabs\Module\Chat\get(), Zotlabs\Module\Mitem\get(), Zotlabs\Module\Thing\get(), Zotlabs\Module\Events\get(), Zotlabs\Module\Settings\Channel\get(), and Zotlabs\Module\Photos\get().