[Wikidata-bugs] [Maniphest] [Edited] T189482: Enforce permission checks when deleting a Lexeme page

2018-03-13 Thread WMDE-leszek
WMDE-leszek updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...> WHEN I use API action="" style="padding: 0 2px; color: #33; background: rgba(251, 175, 175, .7);">ee of index.php to delete it...TASK DETAILhttps://phabricator.wikimedia.org/T189482EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: WMDE-leszekCc: 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


[Wikidata-bugs] [Maniphest] [Edited] T189482: Enforce permission checks when deleting a Lexeme page

2018-03-12 Thread Pablo-WMDE
Pablo-WMDE updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...> 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="" 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)!!TASK DETAILhttps://phabricator.wikimedia.org/T189482EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Pablo-WMDECc: 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


[Wikidata-bugs] [Maniphest] [Edited] T189482: Enforce permission checks when deleting a Lexeme page

2018-03-12 Thread Pablo-WMDE
Pablo-WMDE updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTIONA/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)TASK DETAILhttps://phabricator.wikimedia.org/T189482EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Pablo-WMDECc: 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


[Wikidata-bugs] [Maniphest] [Edited] T189482: Enforce permission checks when deleting a Lexeme page

2018-03-12 Thread WMDE-leszek
WMDE-leszek updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...A user without the right to delete pages can not delete a Lexeme

TODO: BDDGIVEN 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

{F15194869}

GIVEN the lexeme page exists
AND I don't have rights to delete pages
WHEN I use API action="" 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)


GIVEN the lexeme page exists
Delete button in the menu next to editAND I don't have rights to delete pages
Special pageWHEN I use API action="" to delete it
API moduleTHEN I get the error message (TBC: intended behaviour the same as when trying to use the API to move an item page)TASK DETAILhttps://phabricator.wikimedia.org/T189482EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: WMDE-leszekCc: 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


[Wikidata-bugs] [Maniphest] [Edited] T189482: Enforce permission checks when deleting a Lexeme page

2018-03-12 Thread WMDE-leszek
WMDE-leszek updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...TODO: BDD
MoveDelete button in the menu next to edit
Special:Move page
API moduleTASK DETAILhttps://phabricator.wikimedia.org/T189482EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: WMDE-leszekCc: 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