Problem/Motivation

Currently user management (and mainly the people overview) comes with one permission. We would like Content managers to be able to use the people overview provided by core. With filtering an blocking possibilities. But not all the other bulk operations.

Proposed resolution

Create custom permissions, or maybe check for a solution provided by the community which we can implement in Open Social.

Remaining tasks

1. Research on possible contributed module or write custom permissions
2. Implement & Export it in social user feature, also make sure to write a hook_update
3. Write behat test

Comments

ronaldtebrake created an issue. See original summary.

ronaldtebrake’s picture

Category: Bug report » Feature request
Priority: Normal » Minor
Andriy Khomych’s picture

Assigned: Unassigned » Andriy Khomych
ribel’s picture

Issue tags: +CodeSprintUA
Andriy Khomych’s picture

Status: Active » Needs review
ribel’s picture

Status: Needs review » Reviewed & tested by the community

I have tested this functionality. This looks and works good, as for me.
Here is updated PR with passed tests: https://github.com/goalgorilla/open_social/pull/429

jochemvn’s picture

Status: Reviewed & tested by the community » Needs work

See the remarks I made in the pull request.

ribel’s picture

Status: Needs work » Needs review

@jochemvn, I have set permissions to view and block users only for site manager role and fixed some coding standards.
Please check PR again.

jochemvn’s picture

.

jochemvn’s picture

Reviewed and merged. Will be part of the 1.8 release of open social

jochemvn’s picture

Status: Needs review » Fixed

  • ribel committed 5b8d560 on 8.x-1.x
    Issue #2840664 ribel: Fix drupal coding standards
    
  • Andriy Khomych committed 9a7b1dc on 8.x-1.x
    Issue #2840664 by Andriy Khomych:
    
    1) Create custom permissions 'view...
  • Andriy Khomych committed da53808 on 8.x-1.x
    Issue #2840664 by Andriy Khomych:
    
    Updated hook update to set...
  • ribel committed dbff91a on 8.x-1.x
    Issue #2840664 ribel: Grant permissions view and block users only for...

Status: Fixed » Closed (fixed)

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