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 · 7 comments

Comments

Projects
None yet
5 participants
@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

This comment has been minimized.

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

This comment has been minimized.

Copy link
Contributor

GhassenRjab commented Jun 17, 2017

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

@xet7

This comment has been minimized.

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

This comment has been minimized.

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

This comment has been minimized.

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.

@lime918

This comment has been minimized.

Copy link

lime918 commented Oct 1, 2018

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

@xet7

This comment has been minimized.

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

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