Skip to content

Commit

Permalink
issue #3437 do not apply permissions to tables not created
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Arnold <[email protected]>
  • Loading branch information
punktilious committed Jun 2, 2022
1 parent 19daa4c commit fcf2c1e
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,14 @@ public void apply(Integer priorVersion, ISchemaAdapter target, SchemaApplyContex
}
}

@Override
protected void grantGroupPrivileges(ISchemaAdapter target, Set<Privilege> group, String toUser) {
if (create) {
// only issue the grant if we have created this object
super.grantGroupPrivileges(target, group, toUser);
}
}

@Override
public void drop(ISchemaAdapter target) {
if (this.accessControlVar != null) {
Expand Down

0 comments on commit fcf2c1e

Please sign in to comment.