fix(shadow): ignore constraint metadata in permission probe
This commit is contained in:
@@ -69,7 +69,8 @@ public class SqlServerPermissionProbe {
|
||||
+ "ON s.schema_id = o.schema_id CROSS APPLY "
|
||||
+ "sys.fn_my_permissions(QUOTENAME(s.name) + N'.' "
|
||||
+ "+ QUOTENAME(o.name), 'OBJECT') "
|
||||
+ "WHERE o.is_ms_shipped = 0";
|
||||
+ "WHERE o.is_ms_shipped = 0 "
|
||||
+ "AND o.type NOT IN (N'C', N'D', N'F', N'PK', N'UQ')";
|
||||
|
||||
public PermissionCheckResult verifySource(Connection connection)
|
||||
throws SQLException {
|
||||
|
||||
Reference in New Issue
Block a user