HPE Service Manager / Service Center Support and News Forum
Showing results for 
Search instead for 
Do you mean 

User does not have authorization to perform the action: save

Occasional Contributor

User does not have authorization to perform the action: save

Getting the message "User does not have authorization to perform the action: save" when shifting view/queue in the forms sc.manage.*.

Can't figure out why. Security profiles looks OK for me. Anyone who has run into this message before and know how to get rid of it?
16 REPLIES
Esteemed Contributor Esteemed Contributor

Re: User does not have authorization to perform the action: save

Hi,

Between which queues? All?

All operators or?

If any specific, re-create the operator.

Try to add capability word "user" to the operator.

//Tommy
Esteemed Contributor Esteemed Contributor

Re: User does not have authorization to perform the action: save

Check also that the user has "update" in the profile for the modules....

You probably have one option in displayoption scm.advanced that says: evaluate(update in $L.env)

//Tommy
Honored Contributor Honored Contributor

Re: User does not have authorization to perform the action: save

Please mention the exact steps you are following. You are clicking on which button on which form?
Honored Contributor Honored Contributor

Re: User does not have authorization to perform the action: save

This appears with the operator or simple contact?
To create an operator in the command line print operator and fill al necessary data in it
Occasional Contributor

Re: User does not have authorization to perform the action: save

This happens between all views/queues.
It happens when using the drop-down, choosing another queue/view for scm.manage forms, ex scm.manage.problem with display screen scm.advanced.

As far as I have understood the logic, the display option trigger should be GUI option=51(action=getinbox).
It doesn't happen connected as SYSADMIN.
The user I'm using is an operator.
The user capability word didn't help.
The profile should give the operator all needed privilegies on the module.
Esteemed Contributor Esteemed Contributor

Re: User does not have authorization to perform the action: save

On the displayoption, do you have the tickbox "modifies record" ticket? if so untick it.....
Occasional Contributor

Re: User does not have authorization to perform the action: save

Modifies record was unticked.
Honored Contributor Honored Contributor

Re: User does not have authorization to perform the action: save

what is the condition and User condition in your display option 51?
Occasional Contributor

Re: User does not have authorization to perform the action: save

gui() on condition
Frequent Advisor

Re: User does not have authorization to perform the action: save

Has anyone ever solved this? I am getting the exact same error when I am shifting views as well.
Honored Contributor Honored Contributor

Re: User does not have authorization to perform the action: save

Is the behaviour is same on web client and window client?


Regards,
Pankaj
Occasional Contributor

Re: User does not have authorization to perform the action: save

We finally found the cause. We had set privileges in format control on a table(don't rember the name now) which I think keep track of last ToDo queue used by the operator or something like that. This format control privilege was the reason behind our error message.
Occasional Visitor

Re: User does not have authorization to perform the action: save

To correct this bug you can :
type db in command line => ScriptLibrary => viewSetLastChosenView

Change in the line 37 :
viewDefault.doAction("save");
by
viewDefault.doUpdate();

Save and Compile and it works.
Trusted Contributor Trusted Contributor

Re: User does not have authorization to perform the action: save

@Ponthou
Thanks for the help. It worked like charm!!

Just wanted to know out of curiosity!!!
How did you come to this?


Regards,
Sanzz
Advisor

Re: User does not have authorization to perform the action: save

Hi,

 

I have modified the code as mentioned but still the error is appearing when refreshing the view after any change is closed.

Can anyone please let me know if there is any other solution.

 

Thanks,

Nitin

Regular Visitor

Re: User does not have authorization to perform the action: save

I had a similar problem for a particular operatorID. I solved it by manually adding a row to the ViewDefault table for that operatorID.

 

Type db in command line

Enter table ViewDefault

Search for name=operatorID (i.e. the login name)

 

All logins will have an entry for ToDo table, I think.

There may be an entry for incidents table (Interactions) and for probsummary (Incidents), and maybe for cm3r (Changes).

 

In my case, there was only an entry for ToDo table.

I added an entry for

Table=probsummary, View="Open Incidents assigned to my group"

and

Table=incidents, View="All Open Interactions"

 

click OK.

 

Now it doesn't give that error for that operatorID.

 

I don't know why that operatorID was apparently unable to insert into the Viewdefault table.

That operator does now appear to be able to update ViewDefault, for rows that exist already.