Skip to content

Commit

Permalink
#647 revert
Browse files Browse the repository at this point in the history
  • Loading branch information
schoicsiro committed Sep 18, 2023
1 parent cf26e1c commit 6cbb2be
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,11 @@ profileEditor.controller('UserAccessController', function (messageService, util,
};

self.privateModeChanged = function() {
self.roles.push(userRole);
if (self.opus.privateCollection) {
self.roles.push(userRole);
} else {
self.roles.splice(4, 1)
}
};

function showPopup(user) {
Expand Down

0 comments on commit 6cbb2be

Please sign in to comment.