Action "Remove user role" needs to be ported to Rules 8.x-3.x.

Comments

a.milkovsky’s picture

Assigned: Unassigned » a.milkovsky

It's mine now

a.milkovsky’s picture

Assigned: a.milkovsky » Unassigned

not anymore :)

Martin Mayer’s picture

Assigned: Unassigned » Martin Mayer
katzilla’s picture

Assigned: Martin Mayer » katzilla
a.milkovsky’s picture

you can check https://www.drupal.org/node/2348839 which is almost ready

katzilla’s picture

Status: Active » Needs review

Thanks @a.milkovsky - that helped a lot ;-)

Added a pr here: https://github.com/fago/rules/pull/182
Please review - not sure if I covered all testcases, because it was my first unittest.

dasjo’s picture

Assigned: katzilla » Unassigned

Thanks for working on this one? :) Please don't forget to unassign

dasjo’s picture

Status: Needs review » Needs work

The question mark in the previous comment should be ! instead :)

Setting to needs work based on the comments that have been made on the pull request.

Anonymous’s picture

Status: Needs work » Needs review

Have picked this up over at https://github.com/fago/rules/pull/214 - re-rolled to work with latest rules & tidied up code styling. See my notes as may need further tests.

klausi’s picture

Status: Needs review » Needs work

Thanks, left comments in the pull request!

Anonymous’s picture

Status: Needs work » Needs review

Thanks, have addressed the issues, updated the code & squashed the commits.

klausi’s picture

Status: Needs review » Needs work

Thanks, left some comments in the pull request!

Anonymous’s picture

Status: Needs work » Needs review

Have rewritten the tests using Prophecy. Altered the first one to be like the UserRoleAddTest so it tests autosave too. Merged the commits so should be ready to go if nothing else needs fixing/adding.

klausi’s picture

Status: Needs review » Fixed

merged, thanks!

  • klausi committed 8a257e0 on 8.x-3.x authored by stevepurkiss
    Issue #2471645 by stevepurkiss, katzilla: Port "Remove user role" action...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.