This process would likely apply to other Homebrew formula also.
First search for your desired package:
brew search goYou should get a list of results that include the below. Not "go" is very unspecific so you may get a lot of results:
| AWSTemplateFormatVersion : '2010-09-09' | |
| Transform: AWS::Serverless-2016-10-31 | |
| Parameters: | |
| Subnets: | |
| Type: List<AWS::EC2::Subnet::Id> | |
| VpcId: | |
| Type: AWS::EC2::VPC::Id | |
| Resources: |
This process would likely apply to other Homebrew formula also.
First search for your desired package:
brew search goYou should get a list of results that include the below. Not "go" is very unspecific so you may get a lot of results:
| -- Create a group | |
| CREATE ROLE readaccess; | |
| -- Grant access to existing tables | |
| GRANT USAGE ON SCHEMA public TO readaccess; | |
| GRANT SELECT ON ALL TABLES IN SCHEMA public TO readaccess; | |
| -- Grant access to future tables | |
| ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO readaccess; |