First, the scenario...
- You set up users in GP (Admin Page-Setup-User)
- You don't want users accidentally testing in the live company, so you limit their access to the Test company only (Admin Page-Setup-User Access)
- This works great until you refresh the Test database with a copy of the Live database
- Now the users can't access the Test company, and receive a variety of errors on the SY_Current_Activity table
So, it's a relatively easy three part fix...(as always test this out, have a backup, yadda yadda yadda)
- In SQL Server Management Studio, first expand the Test company database, then expand Security, then expand Logins. Make sure the user in question is NOT listed. If they are, delete the user.
- Next in SQL Server Management Studio, expand the overall Security folder, and expand Logins. Right-click on the affected user and choose Properties. Then click on the User Mapping page. Unmark the access to the Test database in the upper part of the User Mapping window.
- Log in to GP, and navigate to Admin Page-Setup-User Access. Select the affected user, and remark the access to the Test company
- Give users access to both the live and test versions of companies (not just the test versions), Admin Page-Setup-User Access.
- Control their ability to enter in to the Live company by not giving them a security role, Admin Page-Setup-User Security.
No comments:
Post a Comment