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
First of all, they could be replaced with a dictionary with strings and booleans such as:
{
'admin': true,
'superuser': false,
#...
}
Then the "boot lab" property doesn't really mean much any more, and the "test lab" one is not enabled when creating a new lab token. So this all needs to be cleaned up and simplified. Also, errors from the backend are not very useful as they just say that some token didn't have the right permission. Showing the database object ID and the permission it's missing would help diagnose such issues.
The text was updated successfully, but these errors were encountered:
The API token properties have numerical flags, which makes it rather hard to debug (from
models/token.py
):First of all, they could be replaced with a dictionary with strings and booleans such as:
Then the "boot lab" property doesn't really mean much any more, and the "test lab" one is not enabled when creating a new lab token. So this all needs to be cleaned up and simplified. Also, errors from the backend are not very useful as they just say that some token didn't have the right permission. Showing the database object ID and the permission it's missing would help diagnose such issues.
The text was updated successfully, but these errors were encountered: