- Community Home
- >
- Software
- >
- HPE Morpheus Software
- >
- HPE Morpheus Enterprise
- >
- Create custom permissions in your Morpheus Plugin
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2023 08:50 AM
06-28-2023 08:50 AM
Create custom permissions in your Morpheus Plugin
Hi all,
I was recently helping a customer who was trying to create a custom permission in their plugin with the intention that this permission be visible in the UI when creating a new role under Administration > Roles.
I have created a working implementation of how to add custom permissions via the Plugin API (I wrote something quite groovy):
Note:
The new permission shows up under the ‘Uncategorized Permissions’ section when you create a new role (or view an existing one) in the UI. It looks like it is possible to specify a subcategory but I still need to test if/how this works.
Enjoy!
- Tags:
- permissions
- roles

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2023 02:47 AM
10-10-2023 02:47 AM
Re: Create custom permissions in your Morpheus Plugin
Implementation of the onDestroy() method should handle gracefully disabling + removing the permission. If this isn’t happening, can you please raise a support case (via the support portal) and attach a link to your plugin code so that I can look into this further?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2023 02:22 AM
06-29-2023 02:22 AM
Re: Create custom permissions in your Morpheus Plugin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 09:51 AM
10-09-2023 09:51 AM
Re: Create custom permissions in your Morpheus Plugin
Hii,
I was experimenting this other day. I see that the newly created custom permission doesn’t get removed once the plugin is disabled or deleted. Can the deletion of that permission be achieved once plugin is removed?
Additionally, I came across this issue while trying out:
No logs were generated.