Acceptance criteria
- A user without the right to delete pages can not delete a Lexeme
Scenarios
Scenario: No button on page
GIVEN I am logged in
AND I don't have rights to delete pages
WHEN I am on the Lexeme page
THEN there is no "Delete" button in the navigation menu
Scenario: Deep-link protected
GIVEN the lexeme page exists
AND I don't have rights to delete pages
WHEN I use action=delete of index.php to delete it
THEN I get the error message (TBC: intended behaviour the same as when trying to use the action to move an item page)
Scenario: API protected
GIVEN the lexeme page exists
AND I don't have rights to delete pages
WHEN I use API action=delete to delete it API module
THEN I get the error message (TBC: intended behaviour the same as when trying to use the API to move an item page)
