Highlighted
New Member.
317 views

Visible conditions on buttons

We have enabled Mandanten so spesific user only can view Configuration Items with Type=Telephone. This works fine. But my problem is that these user can press the "New"-button to create a CI of any Type. So if they create a new CI of Type = PC, they will not be able to see it due to mandanten. I do not want them to be able to create a CI of any type, how can i restrict that? Can i use Mandaten in any way, in the visible contition for the "new"-button? Any other way to hide the "new"-button from specific users?

0 Likes
2 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Visible conditions on buttons

Hi Stig,

Well, that will depends of SM version, you must check your format control, display option or form designer.

Carlos Villalobos R
Customer Support Engineer
If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
0 Likes
Highlighted
Acclaimed Contributor.. Acclaimed Contributor..
Acclaimed Contributor..

Re: Visible conditions on buttons

You don't need special coding to do this.  This is already natively controlled by the user's profile record for the Configuration Management environment.

Depending on the version of HPSM, this will either be a Security Area (with versions 9.5 or greater) or an old-school profile record.  

In version 9.4 or earlier, take a look at an operator record for one of your operators who is creating these CIs.  Whatever value that operator has in their 'Configuration Profile' field determines which profile (and which rights) this user has.

Expand your menu navigator for System Administration -> Ongoing Maintenance -> Profiles and select Configuration Management Profiles.

Search for the profile being used by one of your operators.  There's lots here, but I want to highlight some basic functions.  You'll see checkboxes for basic functions - like 'New', 'Delete', 'View', a dropdown for 'Update', and a tab for 'Device Type Restrictions'.

If your operator has a profile where the 'New' checkbox is checked, they have the rights to create CIs.  If you don't want to let them create CIs, give them a profile that doesn't have the 'New' checkbox checked.  If you want them to be able to create CIs, but want to limit it to specific types, list those types in the Device Type Restrictions tab.  If the user tries to create a CI they don't have the rights to create, the system will pop a message and prevent them from proceeding.

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.