Restricts profile2 profile types to certain user roles. No other modules offer this. Instead people must override menus and use permission combos to simulate a restriction.

https://drupal.org/sandbox/rsvirani/2046785

git clone --branch master git.drupal.org:sandbox/rsvirani/2046785.git profile2_role_restriction

Comments

PA robot’s picture

Status: Needs review » Needs work

There are some errors reported by automated review tools, did you already check them? See http://ventral.org/pareview/httpgitdrupalorgsandboxrsvirani2046785git

We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)

Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).

I'm a robot and this is an automated message from Project Applications Scraper.

garnett2125’s picture

Hi,

Manual review :

  • profile2_role_restriction.module Line 87 : You should use this to get the current user :
    global $user;
    
  • Take a look to the coding standardshttps://drupal.org/coding-standards

=)

PA robot’s picture

Status: Needs work » Closed (won't fix)

Closing due to lack of activity. Feel free to reopen if you are still working on this application (see also the project application workflow).

I'm a robot and this is an automated message from Project Applications Scraper.