working commit

This commit is contained in:
2026-02-15 12:25:09 +02:00
parent af44293195
commit 15a3379e5c
8 changed files with 22 additions and 23 deletions
+3 -3
View File
@@ -148,11 +148,11 @@ func (db *Database) WriteInituser(ctx context.Context) error {
if err != nil {
return err
}
// Grants
// Images
grantDescr = &descr.Grant{
ID: auxuuid.NewUUID(),
AccountID: accountDescr.ID,
Right: descr.RightReadGrants,
Right: descr.RightReadImages,
Pattern: ".*",
CreatedAt: now,
UpdatedAt: now,
@@ -166,7 +166,7 @@ func (db *Database) WriteInituser(ctx context.Context) error {
grantDescr = &descr.Grant{
ID: auxuuid.NewUUID(),
AccountID: accountDescr.ID,
Right: descr.RightWriteGrants,
Right: descr.RightWriteImages,
Pattern: ".*",
CreatedAt: now,
UpdatedAt: now,