Problem/Motivation

While modules like Display role exist to show all roles assigned to an account, it doesn't show role expiration information, and if you display both on a profile you have duplication and potential confusion. It would be nice if role expire's field would simply show all assigned roles.

Steps to reproduce

Have a user with more than one assigned role, at least one of which has an expiry and one of which does not.

Proposed resolution

Display all assigned roles, with a note beside roles without an expiry indicating that they are not set to expire. A patch is incoming.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

kpaxman created an issue. See original summary.

kpaxman’s picture

I've created a merge request for this now. Note that this contains the patch from #3245817: Show "friendly" name for role instead of machine name, as this also uses the "friendly" name.

kpaxman’s picture

Status: Active » Needs review
jollysolutions’s picture

Status: Needs review » Reviewed & tested by the community

Works for me

  • rcodina committed 01e81ee on 2.x authored by kpaxman
    Issue #3245828: Show all roles on profile, not just those that expire
    
rcodina’s picture

Status: Reviewed & tested by the community » Fixed
rcodina’s picture

Status: Fixed » Closed (fixed)

Check out 2.0.2 version!