Module: alfresco/documentlibrary/AlfCreateContentMenuBarItem

alfresco/documentlibrary/AlfCreateContentMenuBarItem

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.
Author:
  • Dave Draper
License:
Source:

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}
Source: