Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export board menu not visible on some boards #1060

Closed
xet7 opened this issue Jun 12, 2017 · 8 comments
Closed

Export board menu not visible on some boards #1060

xet7 opened this issue Jun 12, 2017 · 8 comments

Comments

@xet7
Copy link
Member

xet7 commented Jun 12, 2017

@nebulade @huneau

After merging #1059 I noticed on my Wekan differences between boards on the same Wekan+MongoDB instance:

On one of my boards Export is not visible:

export-bug1

And elsewhere on other boards it is visible:

export-bug2

Do yo have any idea how to fix this?

@huneau
Copy link
Contributor

huneau commented Jun 12, 2017

I'm looking in my pull request changes files, I see nothing about this menu :
https://github.com/wekan/wekan/pull/1003/files
I continue to find in my changes.

@GhassenRjab
Copy link
Contributor

"Change color", "Export board" and "Archive Board" menu entries appear only for the admin of the board

@xet7
Copy link
Member Author

xet7 commented Jun 17, 2017

I am admin user in Wekan installed locally, and other boards have Export visible and one of the boards does not have those visible, as shown in those images above.

@nztqa
Copy link
Contributor

nztqa commented Jun 23, 2017

Check database value.

# Find userId
db.users.find({username:"username"},{_id: 1})

# Find members
db.boards.find()

image

@xet7
Copy link
Member Author

xet7 commented Jun 23, 2017

@nztqa

Thanks!

I used Robo 3T to find my username's userId

db.getCollection('users').find({username: "xet7"})

Then I found board where I am not admin yet:

db.getCollection('boards').find({members: {$elemMatch: { userId: "MY-USER-ID-HERE", isAdmin: false} } })

And changed it to true.

@c-9u11
Copy link

c-9u11 commented Oct 1, 2018

hi @xet7, which command did you use to update the isAdmin value?

@xet7
Copy link
Member Author

xet7 commented Oct 1, 2018

@lime918

I used some MongoDB command, I don't remember anymore.

You can also use REST API to change member role on board:
https://github.com/wekan/wekan/wiki/REST-API-Role

@mklooss
Copy link

mklooss commented Feb 23, 2021

just for the searching folks:
This Value have also be true ;-) while your staring wekan

https://github.com/wekan/wekan/blob/master/start-wekan.sh#L28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants