6 Commits

Author SHA1 Message Date
Jelle Spijker
666880ad20
Only show certain App Switcher icons when account has DF access
Added a dictionary where additional user rights can be set.
A plugin such as the DigitalFactory can update this dictionary
if certain account rights change. The `account.additionalRights`
is intended to allow us some flexibility, without breaking the API
in the future.

The Application Switcher now queries the additional account rights,
which is updated by the DF plugin to only show `My printers`,
`Digital Library` and `Print jobs` when the user has access to the
DF.

Contributes to CURA-8624
2021-10-18 15:37:06 +02:00
Jelle Spijker
629f695ef7
Only show certain Application Switcher links when logged in
Some links in the application only make sense to
forward a user when they are logged into the DF.
Since we don't expose yet if the user has access
to the DF it will now only check if they are
logged in.

Contributes to CURA-8624
2021-10-18 15:37:06 +02:00
Ghostkeeper
ebee7dbec9
Remove space from link
This was probably a copy-paste error.
2021-10-01 10:22:38 +02:00
Jaime van Kessel
5a8396651e Update the copy of the tooltips
CURA-8422
2021-09-22 12:59:43 +02:00
Jaime van Kessel
90bfdce3bb Further simplify the qml of applicationSwitcherPopup
CURA-8421
2021-09-22 09:45:53 +02:00
Jaime van Kessel
0c9ef1e647 Move ApplicationSwitcherPopup to it's own file
CURA-8421
2021-09-22 09:43:49 +02:00