mirror of
https://github.com/wekan/wekan.git
synced 2026-01-04 08:38:49 +01:00
Edit profil and change password menus are not displayed when SSO authentication is used
This commit is contained in:
parent
6d9d69e01d
commit
c7cc9273a6
5 changed files with 21 additions and 8 deletions
|
|
@ -156,6 +156,7 @@ BlazeComponent.extendComponent({
|
|||
|
||||
if (FlowRouter.getRouteName() === 'home'){
|
||||
query.$and[2].$or.push({'members.userId': Meteor.userId()});
|
||||
|
||||
if(allowPrivateVisibilityOnly !== undefined && allowPrivateVisibilityOnly.booleanValue){
|
||||
query.$and.push({'permission': 'private'});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue