Join the conversation

Sign in to join this conversation, and others like it, in the communities you care about.

Wekan

Wekan is an open-source kanban board (Trello like) which allows a card-based task and to-do management.

Wekan / Bugs

add user api ignores admin true parameter in body

add user api ignores admin true parameter in body

Wekan/Bugs · April 9, 2020 at 10:29pm

add user api ignores admin true parameter in body

Wekan / Bugs · April 9, 2020 at 10:29pm

Create a board with an owner. Owner is a member with admin: true.

Add a member and as per api set action to add and isadmin to true. Added member is not an admin.

ie: that new member added does not get the icon permiiting archiving a board when you hover over the board.

If you look in mongo you see an array of the two users, under the key Members

The first item in that array is the one added to the board at board creation time as the owner and isadmin is set to true

The second member of the two element mongo array for that board is the added user and isadmin is set to false

in Both cases no comment and comment only and worker are all set as false


April 9, 2020 at 10:40pm

Thanks :)

    • reply
    • like

    April 10, 2020 at 5:34pm

    OK well its deeper than that I guess

      • reply
      • like

      I just reset the isAdmin attribute for all members to true

        • reply
        • like

        in Mongo and waited till the screen refreshed

          • reply
          • like

          and it still does not permit the second member see the archive icon in the lower left of the board field when you hover over the board

            Edited
            • reply
            • like

            so either the isAdmin attribute is not being read for members,

              Edited
              • reply
              • like

              OR only the owner has archive/delete permission of that board

                • reply
                • like

                if so the api describes a string for an owner and an array for members

                  • reply
                  • like

                  is there a way to have multiple owners of a board?

                    • reply
                    • like