Replies: 5 comments
-
Thanks for opening your first issue here! Be sure to follow the issue template! |
Beta Was this translation helpful? Give feedback.
-
![]() This is the current view but we are unable to find the exact source code as to where we remove these components as the user doesn't need access to this or needs to view this. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hello, @apraba05 This is the source code that controls the display of the cloudstack/ui/src/config/section/compute.js Lines 827 to 910 in 39c5641 The best approach to hide it from end users is by revoking access to the APIs that manage SSH key pairs, which essentially are: |
Beta Was this translation helpful? Give feedback.
-
I'm actually just looking to remove it completely from the UI. This would then ensure that the user is unable to view it all. It's fine even if the Administrators are unable to view it too. I needed to do it for the Affinity Groups and User Data. Thanks for your help @bernardodemarco! |
Beta Was this translation helpful? Give feedback.
-
@apraba05, as far as I know, it’s currently only possible to hide UI sections by denying access to the APIs associated with those sections. For example, the image below shows the To completely remove sections from the UI, you would need to modify the source code. The UI development docs explain how the menu sections are configured and can be used as a reference for removing specific sections. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently looking to find where the SSH Key Pair Button can be removed from the UI as our customers don't need this. I've dug through the chunk files but there is no clear indication as to where the exact file or where I can delete the UI is.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions