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 / General

Shared Workspaces?

Shared Workspaces?

Wekan / General · September 23, 2019 at 3:13pm

Hi there,

We are a small collective of mostly non-tech people looking at wekan as a self-hosted organisation tool. It really seems great in comparison to things like trello where you sign over all your data to some overseas company forever...

Is there something like a "shared workspace" where any boards created within it are visible and editable by everyone in the group / workspace?

This is a bit of a deal breaker because at the moment every time someone makes a new board, they are the admin, and need to add the other 25 people too it manually. This ends up hidden info and confusing admin structures. Asking who created a board, trying to get everyone added, etc.

Am I missing something vital here?

Load previous messages

September 26, 2019 at 7:45pm

this was a little difficult for a novice like myself to figure out as the authorization header seems to need an extra "Bearer" object not listed in the API docs (https://wekan.github.io/api/v3.00/)

    • reply
    • like

    Let me know if I missed something vital there

      • reply
      • like

      because while

        • reply
        • like

        curl -X GET -H "Authorization: Bearer xxxxx" https://wekan.xxx.com/api/boards/myBoardID returns the board info succesfully

        and

        curl -X GET -H "Authorization: Bearer xxxxx" https://wekan.xxx.com/api/users/someUserID returns user info successfully

          Edited
          • reply
          • like

          when I try curl -X POST -H "Authorization: Bearer xxxx" https://wekan.xxx.com/api/boards/myBoardID/members/someUserID/add

          I just get{} returned and nothing happens Any pointers?

            Edited
            • reply
            • like

            That login as form data is mentioned here, it gets bearer token https://github.com/wekan/wekan/wiki/REST-API#example-call---as-form-data

              like-fill
              1
              • reply
              • like

              Do you mean that something here does not work? https://github.com/wekan/wekan/wiki/REST-API-Role

                • reply
                • like

                for members

                  • reply
                  • like

                  September 26, 2019 at 9:43pm

                  aaaaha! Excellent, thats what I was looking for. Perfect, thanks, Ill give that a go

                    • reply
                    • like

                    September 26, 2019 at 11:24pm

                    Wonderful. Works. Thanks for the help

                      • reply
                      • like

                      If anyone is interested:

                      I get a list of all the users I get a list of all the boards Then the real horror: I just use two nested loops and add every user to every board... 🤷‍♀️😬

                        • reply
                        • like

                        @thero Did you make that code like some general function, that you could share?

                          • reply
                          • like