-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1008 from Cap-go/fix_perms_exceeded
feat: fix perms exceeded
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
REVOKE ALL PRIVILEGES ON FUNCTION set_mau_exceeded_by_org(UUID, boolean) FROM PUBLIC; | ||
REVOKE ALL PRIVILEGES ON FUNCTION set_mau_exceeded_by_org(UUID, boolean) FROM authenticated; | ||
REVOKE ALL PRIVILEGES ON FUNCTION set_mau_exceeded_by_org(UUID, boolean) FROM anon; | ||
GRANT EXECUTE ON FUNCTION set_mau_exceeded_by_org(UUID, boolean) TO service_role; | ||
|
||
REVOKE ALL PRIVILEGES ON FUNCTION set_storage_exceeded_by_org(UUID, boolean) FROM PUBLIC; | ||
REVOKE ALL PRIVILEGES ON FUNCTION set_storage_exceeded_by_org(UUID, boolean) FROM authenticated; | ||
REVOKE ALL PRIVILEGES ON FUNCTION set_storage_exceeded_by_org(UUID, boolean) FROM anon; | ||
GRANT EXECUTE ON FUNCTION set_storage_exceeded_by_org(UUID, boolean) TO service_role; | ||
|
||
REVOKE ALL PRIVILEGES ON FUNCTION set_bandwidth_exceeded_by_org(UUID, boolean) FROM PUBLIC; | ||
REVOKE ALL PRIVILEGES ON FUNCTION set_bandwidth_exceeded_by_org(UUID, boolean) FROM authenticated; | ||
REVOKE ALL PRIVILEGES ON FUNCTION set_bandwidth_exceeded_by_org(UUID, boolean) FROM anon; | ||
GRANT EXECUTE ON FUNCTION set_bandwidth_exceeded_by_org(UUID, boolean) TO service_role; |