0

I know it can be done using PHP Code I am looking an option which will be using configurations.

3
4

Try adding view relationship to "Content: Author", and then add contextual filter for field "(author) User: Roles".

0

Currently logged-in user can be achieved by using global variable

<?php

global $user;

if (in_array('administrator', $user->roles)) {
        // do something
}
1
  • The OP doesn't want to use PHP.
    – apaderno
    Sep 28 '15 at 4:04
0

This will help you

Can you filter views user list result based on the current users role

Not the answer you're looking for? Browse other questions tagged or ask your own question.