You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Go to the main database and grant create on the public schema
76
+
// The code below is implemented to make installing possible with PostgreSQL version 15:
77
+
// https://www.postgresql.org/docs/release/15.0/
78
+
// From the release notes: For new databases having no need to defend against insider threats, granting CREATE permission will yield the behavior of prior releases
79
+
// Therefore we assume that the database is only used by one user/service which is Nextcloud
80
+
// Additional services should get installed in a separate database in order to stay secure
81
+
// Also see https://www.postgresql.org/docs/15/ddl-schemas.html#DDL-SCHEMAS-PATTERNS
82
+
$connectionMainDatabase->executeQuery('GRANT CREATE ON SCHEMA public TO ' . addslashes($this->dbUser));
0 commit comments