I am owner in the database and schema but i can't view the tables
See original GitHub issueI am owner in the database and schema but i can’t view the tables. In the ldap2pg.yml i put myself in the group owner. When i log in to the database i can create a new table in the schema, but i can’t view the table that i created.
CREATE TABLE myschema.accounts27 ( user_id serial PRIMARY KEY, username VARCHAR ( 50 ) UNIQUE NOT NULL, password VARCHAR ( 50 ) NOT NULL, email VARCHAR ( 255 ) UNIQUE NOT NULL, created_on TIMESTAMP NOT NULL, last_login TIMESTAMP ); CREATE TABLE
\d accounts27 ERROR: permission denied for table pg_class
ldap2pg.yml
ldap2pg.yml
``` yml ... ```grant:
- privilege: ro role: mygroup_readers database: mydatabase schema: myschema
- privilege: rw role: mygroup_writers schema: myschema database: mydatabase
- privilege: ddl role: mygroup_owners schema: myschema database: mydatabase
Issue Analytics
- State:
- Created 2 years ago
- Comments:36 (18 by maintainers)
Top Results From Across the Web
dbo cannot see tables or procedures in database - MSDN
The owned schema is db_Owner. Hello,. Just having "dbo" as default schema for the user don't mean he has also already "db_owner" permissions....
Read more >Users cannot view tables in non-default schema in SSMS
On my 2008R2 instance when I grant db_datareader or db_datawriter they can see all schemas. I do realize that's not what you're looking...
Read more >Users can't see tables part of a schema in SSMS
Right click on the database name (not the view name) >> Properties >> Permissions >> select the user >> Click on "View Definition"...
Read more >Unable to see the schema tables .. — oracle-tech
Hello, I have admin rights to the database and can see the tables. A user was granted select all tables but cannot see...
Read more >Why can a user query database but can't see it and the tables ...
SELECT permission is required to read data from table. SQL. GRANT SELECT ON OBJECT::dbo.TableName TO UserName; INSERT permission for writing ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@diegodblr De nada 😃
Hi @bersace, in my test all is working fine. I can access only the databases that i am owner, writer or reader. And i can see the descrition of table that i created. Thanks for your support.