Skip to content

Commit

Permalink
Merge pull request #19615 from Ultimaker/CURA-12076_permissions_after…
Browse files Browse the repository at this point in the history
…_login

[CURA-12076] Directly update permissions after login.
  • Loading branch information
HellAholic authored Sep 5, 2024
2 parents acb5563 + 5169db2 commit 6cf55cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cura/API/Account.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ def _onLoginStateChanged(self, logged_in: bool = False, error_message: Optional[

def _onProfileChanged(self, profile: Optional[UserProfile]) -> None:
self._user_profile = profile
self._updatePermissions()
self.userProfileChanged.emit()

def _sync(self) -> None:
Expand Down

0 comments on commit 6cf55cd

Please sign in to comment.