-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined index: perms_labels #72
Comments
I am not sure if I will fix that. When I change the DB structure I have to change the Migrations of Part-DB 1.0 too (they are currently targeting the structure of Part-DB 0.5.6). Any other opinions on this? |
Looking at your commit activity I figured you would rather focus one the 1.0, which is totally fine. |
After you have understood some basic ideas of Symfony the Part-DB 1.0 codebase should be easier to understand than the version in this repo (also the development is so much more comfortable). I have written something about my plans for Part-DB and my ideas for a roadmap in the new repo (thanks for your suggestion): Part-DB/Part-DB-server#9 |
Hello,
I've have a setup of the current master branch on apache/mariadb, database is version 26.
I noticed in my log that php complains about a missing "labels" permission. I looked it up, here what happens :
the admin user, coming from a fresh partdb install, has a "perms_labels" set to 0, so every request to label permission is translated to being group-inherited ($val === BasePermission::INHERIT)
Unfortunately the database table "groups" doesn't include a "perms_labels" column, thus the warning is generated.
This could be addressed by creating a new database version, but looking at update scripts, I'm unsure how to properly generate a migration. This doesn't look too critical (basically, labels permissions are disabled), is this worth fixing right now ? and if so, can you help ?
The text was updated successfully, but these errors were encountered: