Remove old df_access additional right

It is replaced by the new permissions system. The rights are more specific than 'digital factory access, yes or no'. It's now about whether you can read/write printers/projects/print jobs/etc and can differ whether it is your own project/job/etc or someone else's.

Contributes to issue CURA-9220.
This commit is contained in:
Ghostkeeper 2022-07-26 17:49:55 +02:00
parent 7287644324
commit f849df6ba3
No known key found for this signature in database
GPG key ID: FFBC62A75981ED70
2 changed files with 0 additions and 15 deletions

View file

@ -71,8 +71,6 @@ class DigitalFactoryApiClient:
has_access = response.library_max_private_projects == -1 or response.library_max_private_projects > 0
callback(has_access)
self._library_max_private_projects = response.library_max_private_projects
# update the account with the additional user rights
self._account.updateAdditionalRight(df_access = has_access)
else:
Logger.warning(f"Digital Factory: Response is not a feature budget, likely an error: {str(response)}")
callback(False)