Pablo-WMDE updated the task description. (Show Details) |
CHANGES TO TASK DESCRIPTION
A/C:= Acceptance criteria =
* A user without the right to delete pages can not delete a Lexeme
= Scenarios =
GIVEN I am logged in== Scenario: No button on page ==
AND I don't have rights to delete pages> GIVEN I am logged in
WHEN I am on the Lexem> 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
{F15194869}
GIVEN the lexeme page exists
AND I don't have rights to delete pages{F15194869}
== Scenario: Deep-link protected ==
WHEN I use API action="" to delete it> GIVEN the lexeme page exists
THEN I get the error message (TBC: intended behaviour the same as when trying to use the action to move an item page)
GIVEN the lexeme page exist> AND I don't have rights to delete pages
AND I don't have rights> WHEN I use API action=""> to delete pagesit
W> THEN I use API action="">get the error message !!(TBC: intended behaviour the same as when trying to delete ituse the action to move an item page)!!
THEN I get the error message (TBC: intended behaviour the same as when trying to use the API to move an item page)
* A user without the right to delete pages can not delete a Lexeme
= Scenarios =
GIVEN I am logged in== Scenario: No button on page ==
AND I don't have rights to delete pages> GIVEN I am logged in
WHEN I am on the Lexem> 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
{F15194869}
GIVEN the lexeme page exists
AND I don't have rights to delete pages{F15194869}
== Scenario: Deep-link protected ==
WHEN I use API action="" to delete it> GIVEN the lexeme page exists
THEN I get the error message (TBC: intended behaviour the same as when trying to use the action to move an item page)
GIVEN the lexeme page exist> AND I don't have rights to delete pages
AND I don't have rights> WHEN I use API action=""> to delete pagesit
W> THEN I use API action="">get the error message !!(TBC: intended behaviour the same as when trying to delete ituse the action to move an item page)!!
THEN I get the error message (TBC: intended behaviour the same as when trying to use the API to move an item page)
TASK DETAIL
EMAIL PREFERENCES
To: Pablo-WMDE
Cc: Lydia_Pintscher, Aklapper, WMDE-leszek, Lahi, Gq86, Cinemantique, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Darkdadaah, Mbch331
Cc: Lydia_Pintscher, Aklapper, WMDE-leszek, Lahi, Gq86, Cinemantique, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Darkdadaah, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs