Red Gate SQL Source Control–Solution for users not seeing Last Changed By user names

After installing the latest version of Red Gate SQL Source Control many of our non-sys-admin users were unable to see who had made changes to a database object.

image

After reading all the documentation and applying the suggested permission changes we found that we were still lacking some of the needed permissions to get this working.  After looking through exception details in the log files we were able to get all the right permissions setup.  Use the script below to grant your user/group the necessary rights.

USE master

go

GRANT ALTER TRACE TO [UserHere]

GO

GRANT VIEW SERVER STATE TO [UserHere]

go

GRANT SELECT ON sys.sql_expression_dependencies TO [UserHere]

GO

USE tempdb

go

GRANT EXECUTE ON tempdb .dbo. RG_WhatsChanged_v4 TO [UserHere]

GO

GRANT CREATE TABLE TO [UserHere]

GO

GRANT ALTER on SCHEMA::dbo TO [UserHere]

go

Working with SQL Reporting (rptproj) in VS 2015

After a bunch of searching and many incorrect suggestions I found the right SSDT package to get SQL Reporting projects to work in VS 2015:

Follow step 3 here:
https://msdn.microsoft.com/en-us/mt186501

Everything I did to get SSDT installed through Visual Studio as many suggested didn’t work for getting me access to SQL Reporting projects. Installing the SSDT package from step 3 in that link DID work.