What each role may do was spelled out THREE times - in the server allow helpers,
in the client's canModify* helpers, and in prose in the docs - and the three had
drifted apart. Every place they disagreed was a role that did not do what its name
says. models/lib/boardRoleCapabilities.js is that table now, in code, and
everything reads it: the allow rules, the UI helpers, the new Admin Panel pane and
the documentation. There is nowhere left for a fourth opinion to appear.
THE THREE GAPS, fixed:
* "Comment only, assigned" (isCommentAssignedOnly) had FULL WRITE ACCESS.
Nothing outside the card publications read that flag and it was not in the
write rule, so the role could create and edit cards, lists and checklists - it
was "Normal, assigned only" under another name. It is comment-only now, like
the role it is named after; the two differ only in what they see.
* "No comments" (isNoComments) could not write ANYTHING. The write rule excluded
it, so the role blocked editing as well as commenting - a second read-only
role under a name that says otherwise, and one the UI still offered the edit
buttons for. It blocks commenting only now, which is what the name and the
board schema both say it is for.
* The write rule did not exempt board admins. Every has*() helper on the board
ignores a flag on an admin; that one read the raw flags, so an admin who also
carried isNoComments silently lost write access. Not reachable from the Web
UI, which writes all eight flags at once, but reachable over the REST API,
which takes them individually. memberRoleOf() resolves isAdmin first.
The UI helpers were part of the same drift - canModifyCard() did not exclude
isNoComments while the server did, and canModifyBoard() excluded neither
isNoComments nor isWorker - so each disagreement was a button offered to somebody
whose write the server then refused. All three ask the same table now.
A FOURTH gap found while building the table, NOT fixed: a Worker cannot move a
card, which is the one thing the role is for. Moving a card is a card UPDATE, so
it goes through the write rule, which excludes Worker. The fix is not a table
edit - it means letting a role write SOME fields of a card and not others, and
"assign himself" means validating that a member change only ever adds the caller.
That is a field-level policy on the path every card update takes and wants
deciding on purpose. It is recorded under "Known gaps" with what it would take.
ROLES STATUS, at Admin Panel / People / Roles, below the Save button: a READ-ONLY
table of what each role may do - which cards it sees, and whether it may comment,
create and edit, or change the board's settings. It is the shared table page
(docs/Design/Page/Table.md), so it looks and behaves like every other Admin Panel
table, with no markup of its own; it has no rowTemplate, no actions and no
editable cell, because a role's capabilities are a property of the code and not a
setting. Every string is a translation key, the Yes/No of each cell included - the
values are booleans, and a hard-coded "Yes" would be English in every language.
The "Invite to board" column reads the pane's WORKING copy, so the table follows
the checkboxes above the Save button as they are ticked, before saving, which is
the point of putting it there.
docs/Design/Page/Table.md listed Roles among the panes that do NOT use the shared
design, "so the gap is visible rather than forgotten" - it has a table now, so it
moved to the list of pages that use it, and the exclusion covers the two panes
that are still nothing but a form.
Two guards were checking the shape of the old code rather than what it guaranteed,
and are updated with the reason in the test: listDragPermission read the flag
exclusions out of canModifyBoard's own body (it has none now, so it checks the
BEHAVIOUR - anonymous is falsy, and each excluded role still cannot drag a list),
and tablePage counted the pager handlers file-wide, which also forbade a handler
on a different template - a separate event map is not a duplicate key.
tests/boardRoles.test.cjs is the suite: the module itself including each fixed
gap, that the server rules and the UI helpers ARE the table and name no flag
themselves, that every cell of the documentation matches it, that the
assigned-only column matches the publication scope, that the remaining gap is
still real and the three fixed ones are recorded as fixed, and that the Roles
Status pane renders from the table, is read-only, is the shared template, follows
the working copy, and translates every string it shows.
Thanks to xet7 !
Wekan is an open-source kanban board which allows a card-based task and to-do management.
Wekan allows to create Boards, on which Cards can be moved around between a number of Columns. Boards can have many members, allowing for easy collaboration, just add everyone that should be able to work with you on the board to it, and you are good to go! You can assign colored Labels to cards to facilitate grouping and filtering, additionally you can add members to a card, for example to assign a task to someone.
What is special about Wekan?
Wekan is distributed under the MIT License, allowing anyone to easily work with it and modify it. It is perfect for anyone that needs a slick kanban board but doesn't want to use third party services, which are out of user control. Wekan can be hosted on your own server with very little effort, guaranteeing that you have all the time full control over your data and can make sure no one else has access to it and that it won't just vanish from one day to another, that is, if you do backups.
Install
SaaS
Support
- Free Public Open Source Support, bugs and feature requests: https://github.com/wekan/wekan/issues
- Paid Private Commercial Support, paid features/fixes/support/hosting: https://wekan.fi/commercial-support/
General
- WeKan Features: Deep Dive Into WeKan (WeKan now runs on Meteor 3.x and Node.js 24.x)
- WeKan Roadmap kanban board - board at Wekan demo
- Future WeKan prototypes: Multiverse WeKan Roadmap
- Change Language
- Forgot Password
- WeKan Design Principles
- FAQ
- IRC FAQ - answers to questions asked at IRC
- Team
- Press
- Blog
- Wekan vs Trello vs Restyaboard
- Results of Survey 2020-01
Fake: Not WeKan kanban
Security
- Allow private boards only: Disable Public Boards
- Security Disclosure and details of Security in Wekan
- Password Hashing
Scaling
- Cron: Hourly restart WeKan, because of memory leaks
- Maybe: Add more RAM to Node.js to prevent crash
- Clustering AWS etc
- Scaling
- Multitenancy: one server per tenant, and the alternatives
- Kubernetes
- Helm Chart https://artifacthub.io/packages/helm/wekan/wekan
- Issues https://github.com/wekan/charts/issues
- Pull Requests https://github.com/wekan/charts/pulls
- Redis Oplog
- Scaling at Meteor forums
Migrating
- From Previous Export, paste big WeKan JSON
- Progress: Import/Export/Sync
- From CSV/TSV
- From Excel (.xlsx)
- From Trello
- From Jira
- From / To Kanboard
- From / To NextCloud Deck, OpenProject, GitHub, GitLab, Gitea, Forgejo
- From Asana
- From Zenkit
- From old Wekan manually
Backup
Repair
- Repair MongoDB
- Using Meteor MongoDB to repair files
- If board does not open and keeps loading
- Repair Docker
Themes
Markdown Syntax
- Wekan Markdown
- Emoji
- Mermaid Diagram DOES NOT WORK ANYMORE
- Numbered text
Login Auth
- Automatic login
- Disable Password Login
- Forgot Password
- Admin: Impersonate user
- Adding Users
- Active users Presence
- Accounts Lockout: Brute force login protection
- LDAP
- LDAP AD Simple Auth
- Keycloak
- Google login
- Azure
- OAuth2, Auth0, GitLab, RocketChat
- Oracle OIM on premise using OAuth2
- ADFS 4.0 using OAuth2 and OpenID
- Azure AD B2C using OAuth2
- Nextcloud
- CAS Please test
- SAML Please test
- Zitadel
Metrics, Logs, Stats
Integrations
Time
Features
- All Features index
- Boards
- Lists
- Cards
- Members and Permissions
- WIP Limits
- Keyboard Shortcuts
- Accessibility
- Rules (Automation)
- Card Dependencies — "Red Strings" / PI Program Board
- IFTTT / Rules overview
- Admin Panel — every pane, one page per menu entry
- Multiline
- Linked Cards
- Drag Drop on Mobile and Desktop
- Python based features
- Burndown and Velocity Chart
- Wait Spinners
- Translations
- Customize Translations
- Default Language for All Users
- Planning Poker
- Scaling
- Custom Logo
- Subtasks
- Templates
- Shared Templates (Admin view)
- Card Cover Image
- Stickers
- Card Locations
- Board Background Images
- Attachments and File Storage
- Right-to-Left (RTL) UI
- Archive and Delete
- Custom Fields
- Fix Export board menu not visible on some boards
- RAM usage
- Swimlanes
Required Settings
Webservers
- Caddy
- Nginx
- Apache
- OpenLiteSpeed
- Local self signed TLS
- Let's Encrypt and Google Auth
- TLS with Node.js
- Traefik and self-signed SSL certs
REST API Docs
- API docs https://wekan.fi/docs/
- PHP Webhook receiver to WeKan API Python https://github.com/wekan/webhook/blob/main/public/index.php#L46
- API clients
- Python
- api.py
- https://github.com/wekan/wekan-python-api-client
- https://github.com/wekan/python-wekan
- Other Python features Python
- Go https://github.com/wekan/wego
- Python
- Other API
- REST API Code
- Login
- User
- Role
- Boards
- Lists
- Cards
- Checklists
- Swimlanes
- Custom Fields
- Integrations
REST API issue
REST API client code
- Example: New card with Python3 and REST API
- Python client to REST API
- Go client to REST API
- Wekan Sandstorm cards to CSV using Python
- Excel and VBA
Webhooks
- Per-board events sending at board right sidebar / Board Settings / Webhooks
- Check that webhook immediately responds with HTTP 200 OK, otherwise WeKan slows down
- Global Webhook
- PHP Webhook receiver to WeKan API Python https://github.com/wekan/webhook/blob/main/public/index.php#L46
- Limiting Webhook data
- Receiving Webhooks
- Java Webhooks
- Outgoing Webhook to Discord/Slack/RocketChat/Riot
- Outgoing Webhook to NodeRed
- Outgoing Webhook to PowerShell
- Outgoing Webhooks, CA and Let's Encrypt
- Outgoing Webhooks Data
- Outgoing Webhooks Original Pull Request, multiple Webhooks, more parameters and response order
Development
- Kadira integration
- Debugging
- Developer Docs for Standalone Wekan
- Developer Docs for Sandstorm Wekan
- Adding new Snap setting to code
- Directory Structure
- Beginner
- Maintainer FAQ