-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2ca5f1f
commit 4ea3cc9
Showing
4 changed files
with
30 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
ALTER TABLE config_items DISABLE ROW LEVEL SECURITY; | ||
|
||
ALTER TABLE components DISABLE ROW LEVEL SECURITY; | ||
|
||
-- POLICIES | ||
DROP POLICY IF EXISTS config_items_auth ON config_items; | ||
|
||
DROP POLICY IF EXISTS components_auth ON components; | ||
|
||
-- View owners | ||
ALTER VIEW config_detail OWNER TO current_user; | ||
ALTER VIEW config_summary OWNER TO current_user; | ||
ALTER VIEW config_labels OWNER TO current_user; | ||
ALTER VIEW config_names OWNER TO current_user; | ||
ALTER VIEW config_statuses OWNER TO current_user; | ||
|