Page MenuHomePhabricator

Permissions
Closed, ResolvedPublic5 Estimated Story Points

Description

As an admin I want banned editors not to be able to create new Lexemes.

Problem:
We need to ensure that permissions are checked before creating a new Lexeme.

BDD
GIVEN an editor who is blocked from creating new Lexemes
OR the Lexeme namespace being locked from new Lexeme creation
WHEN attempting to create a new Lexeme
THEN the attempt is blocked
AND the new Lexeme is not created

Acceptance criteria:

  • permissions of the editor and namespace are checked before a new Lexeme is created

Notes:

  • We need to ensure that the existing permission checks are carried over. The existing permission error messages can be taken over.

Event Timeline

Task Breakdown note:
This patch already implements the relevant checks.

sprint 3 planning -
error handling is covered in https://phabricator.wikimedia.org/T302264
the basic handling of users is already done. ticket to be brought in to sprint 3 to simply confirm that this functionality is working