Тут показані розбіжності між вибраною ревізією та поточною версією сторінки.
| Порівняння попередніх версій Попередня ревізія | |||
|
programming:databases:postgresql:roles_example [2020/07/29 15:44] charon [Grant access to the schema] |
programming:databases:postgresql:roles_example [2020/07/29 15:45] (поточний) charon [Grant usage for future tables, sequences, routines in schema for basic roles] |
||
|---|---|---|---|
| Рядок 65: | Рядок 65: | ||
| ==== Grant usage for future tables, sequences, routines in schema for basic roles ==== | ==== Grant usage for future tables, sequences, routines in schema for basic roles ==== | ||
| <code postgresql> | <code postgresql> | ||
| - | ALTER DEFAULT PRIVILEGES FOR ROLE experiment_read_write, | + | ALTER DEFAULT PRIVILEGES FOR ROLE experiment_read_only, |
| - | ALTER DEFAULT PRIVILEGES FOR ROLE experiment_read_write, | + | ALTER DEFAULT PRIVILEGES FOR ROLE experiment_read_only, |
| - | ALTER DEFAULT PRIVILEGES FOR ROLE experiment_read_write, | + | ALTER DEFAULT PRIVILEGES FOR ROLE experiment_read_only, |
| - | ALTER DEFAULT PRIVILEGES FOR ROLE experiment_read_write, | + | ALTER DEFAULT PRIVILEGES FOR ROLE experiment_read_only, |
| - | ALTER DEFAULT PRIVILEGES FOR ROLE experiment_read_write, | + | ALTER DEFAULT PRIVILEGES FOR ROLE experiment_read_only, |
| </ | </ | ||