Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • concrexit concrexit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 70
    • Issues 70
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • thaliathalia
  • concrexitconcrexit
  • Merge requests
  • !452

Fix board wiki permission

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Thom Wiggers requested to merge fix_board_wiki_permission into master Apr 14, 2017
  • Overview 1
  • Commits 2
  • Changes 2

@kirstenkingma reported that she couldn't access the board wiki pages or other wikis (she should be allowed to from the permissions assigned to the 'bestuur' group in the wiki). It turned out that the 'bestuur' group was never assigned to non-admins as the has_perm call was wrong.

Before

  1. Create user without superuser access and assign it the bestuur.board_wiki permission
  2. Try to log in to the wiki (curl -X POST -d "apikey=apikey&user=twiggers&password=password" https://thalia.nu/api/wikilogin)
  3. Observe that the bestuur group isn't in the response

After

  1. Do steps one and two as above
  2. Observe the bestuur group in the response
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix_board_wiki_permission