Login error on Console: "Authorisation Failure, User Not authorised to perform Read Operations on the Metadata.QueryTemplate class type"

Version 2

    Problem:

     

    Analysts are unable to login to the Service Desk Console from any client machine. Only SA is able to login to the console as Analyst role was erase.

     

    Error message is "Authorisation Failure, User Not authorised to perform Read Operations on the Metadata.QueryTemplate class type" as show below:

     

    login error.jpg

     

    A copy of the event viewer log error is attached to this article for reference.

     

    Cause:

     

    This issue was due to the analyst role missing for all analyst  users which meant they did not have the privileges required to login.

     

    Users  that where still logged into Service Desk will still be able to work  but subsequent login will fail.

     

    This error occurs as the Analyst role was erased by  accident which means that this role will be deleted from every user.

     

    For default privilege require to login to console check the following article:

    http://community.landesk.com/support/docs/DOC-3804

     

     

    Solution:

     

    The quick method would be to copy the role from a previous copy of the DB (or from test system) and import it via design transfer.  The next step would be to link all previous users that had this role.

     

    Alternatively it could also be possible to either restore to backup or recreate the role if the above option is not possible.

     

    Note:  Please ensure you have a backup of your live DB before making these changes.

     

     

     

    Environment:

     

    All versions