Files
wekan/docs/Features/Members/Members.md
T
Lauri Ojansivu 744df41544 Document what each board role may and may not do, as one table, read from the code.
There was no comparison of the roles anywhere. docs/Features/Members/Members.md
listed three of them - Admin, Normal, Comment only - in one line each, and there
are NINE: board admin, normal, no comments, comment only, worker, read only, and
an assigned-only variant of normal, comment-only and read-only. docs/API/Role.md
shows how to set each flag over the API without saying what any of them does.

docs/Features/Members/Roles.md is the table: for every role, which cards it sees,
whether it may comment, create or edit cards, move cards, edit lists and
swimlanes, and change the board's settings and members. It also says WHERE each
column comes from, because the answer is only two helpers -
allowIsBoardMemberWithWriteAccess() and allowIsBoardMemberCommentOnly() in
server/lib/utils.js - plus isBoardAdmin() and, for visibility, the assigned-only
scope in the card publications. The table is what the SERVER allows, because the
server is the authority and the UI can only hide buttons.

VALIDATED FROM THE CODE, and three things do not match their own names. They are
recorded as gaps, not fixed here, because each needs a decision about which side
is wrong:

  * "Comment only, assigned" (isCommentAssignedOnly) has FULL WRITE ACCESS.
    Nothing outside the card publications ever reads that flag - it is not in
    allowIsBoardMemberWithWriteAccess(), where isCommentOnly is - so the member
    may create and edit cards, lists and checklists. The role is in practice
    "Normal, but only sees the cards assigned to me", which is what
    isNormalAssignedOnly already means.

  * "No comments" (isNoComments) cannot write ANYTHING. That helper excludes it,
    so the role blocks editing as well as commenting - while the schema describes
    it as "is the member not allowed to make comments" and the UI's
    canModifyCard() does not exclude it, so the member is offered the edit
    affordances and the server refuses the write. The name and the schema comment
    both point at the helper being the wrong side.

  * The write helper does not exempt board admins. Every has*() helper on the
    board requires isAdmin: false, so a flag on an admin is ignored, but that one
    reads the raw flags. Not reachable from the Web UI, which writes all eight
    flags at once and never leaves two set - but reachable over the REST API,
    which takes them individually.

A fourth section lists where the UI is more generous than the server, i.e. the
buttons that do nothing: canModifyCard() does not exclude isNoComments, and
canModifyBoard() excludes neither isNoComments nor isWorker. None of these is a
security hole - the server rules hold - but a button that silently fails reads as
a bug to whoever clicks it.

tests/boardRoles.test.cjs keeps the page honest rather than trusting it, which is
the point: a permissions table that quietly goes stale is worse than none, because
it is what an admin decides who to trust with. It parses the table and checks that
every role memberRole() can return has a row and every row names a flag it really
reads, that the "create / edit" and "comment" columns match the flag lists in the
two server helpers, that the "which cards they see" column matches the
assigned-only scope, that only the board-admin row may change settings, that each
gap the table marks is still real AND still explained - so fixing one has to
update the page with it - and that the page is linked from both Members.md and
the API role page.

Thanks to xet7 !
2026-07-31 04:09:41 +03:00

3.4 KiB

Members and Permissions

Boards can have many members, so you can collaborate with your team. You add members to a board, and optionally assign them to individual cards.

Member settings menu

Click your username/avatar in the top right corner to open your member settings.

Wekan member settings screenshot

NOTE: The duplicate "Edit Notification" entry was removed from this menu in PR #1948, so Edit Notification is only available from the menu shown below.

Edit Notification

Wekan edit notification screenshot

Change settings (for example hide system messages)

Wekan hide system messages screenshot

Board members

Click a member's initials or avatar to filter the board by that member, or to open the member's permission settings.

Wekan member filter screenshot

Permissions: the board roles

Click a member's initials or avatar to set their role on the board. There are nine, and the short version is:

  • Board admin — full control of the board, including its settings and who is on it.
  • Normal — can create and edit cards, lists and swimlanes, and comment.
  • No comments — as Normal, but cannot comment.
  • Comment only — can only add comments, not edit anything.
  • Worker — can move cards and comment, but not edit them.
  • Read only — can see the board and nothing else.
  • ...and an assigned only variant of Normal, Comment only and Read only, which additionally sees only the cards it is assigned to.

Board roles — what each one may and may not do is the full comparison table, column by column, written from the code — including the places where a role does not yet do what its name says.

Wekan permissions screenshot

Share a board with an email Domain

In the board members sidebar there is a Domains tab. From it you can share a board with a whole email domain (for example example.com), so every user with a verified email address on that domain becomes a member of the board. This is in addition to sharing with individual members, Organizations and Teams.

Notify on assign

When a user is added as a card member or assignee, they can be notified directly. This is controlled by the environment variable:

  • NOTIFY_ON_ASSIGN (default true) — when true, the user added as a card member/assignee gets a direct notification. Set to false to disable these notifications instance-wide. On Snap use notify-on-assign.

Restrict board members to the same Organization or Team

On multi-tenant instances you can require that a board's members share an Organization or a Team. There is one admin checkbox per kind - boardMembersFromSameOrgOnly in Admin Panel / People / Organizations and boardMembersFromSameTeamOnly in / Teams - and when either is on, a user can only be added to a board if they share an enabled kind with the inviter or with an active board member (site admins bypass this). See Admin Panel.