sciabarracom opened a new issue, #115:
URL: https://github.com/apache/openserverless/issues/115

   - [x] I have searched the 
[issues](https://github.com/apache/openserverless/issues) of this repository 
and believe that this is not a duplicate.
   
   ### Ⅰ. Issue Description
   You cannot create tables. 
   
   
   ### Ⅱ. Describe what happened
   
   create table produces 
   
   ```
   "create": "permission denied for schema public\nLINE 1: create table test 
(id int, name varchar(255))\n  
   ```
   
   ### Ⅲ. Describe what you expected to happen
   
   should create the table
   
   ### Ⅳ. How to reproduce it (as minimally and precisely as possible)
   
   execute a create table on the db
   
   
   ### Ⅴ. Anything else we need to know?
   Here:
   
   
https://github.com/apache/openserverless-operator/blob/main/nuvolaris/templates/postgres_manage_user_tpl.sql
   
   
   you should likely add:
   
   ```
   -- Allow the user to use the public schema
   GRANT USAGE ON SCHEMA public TO {{username}};
   
   -- Allow the user to create tables and objects inside public schema
   GRANT CREATE ON SCHEMA public TO {{username}};
   ```
   ```
   
   ### Ⅵ. Environment:
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@openserverless.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to