This is a customization of the standard menu bar item that
mixes in the ability to determine whether or not the current user has the ability to create content
at the current rendered location. This was created for use in the document library (for the "Upload" button
but is applicable for use anywhere where user access rights need to be verified.
- Copyright:
- Copyright (C) 2005-2020 Alfresco Software Limited
- License:
- GNU Lesser General Public License, see: Open Source Licensing
- Source:
Mixes In
Methods
-
postCreate()
-
Extends the superclass function to subscribe to the userAccessChangeTopic topic which is handled by [onUserAcess]{@link module:alfresco/documentlibrary/_AlfCreateContentPermissionsMixin#onUserAcess} and hashChangeTopic which is handled by [onFilterChange]{@link module:alfresco/documentlibrary/_AlfCreateContentPermissionsMixin#onFilterChange}