开发者

Limiting Access to Certain User Profiles

How can I limit access to user profiles so that only users with a specific role can be viewed globally.

What I'm trying to do is make accessing users with "writer" role possible for all users, but开发者_StackOverflow leave normal members inaccessible to all but admin.


(Originally posted this as a comment but I guessed it helped so I'm posting it as an answer.)

You might want to see whether the Profile 2 module might be able to help you. The writer role would then have permission to create a profile for all to see while others do not. Also, you could modify the way users list other users' profiles. You could use the Views module use a filter so that it only shows users of a certain role

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜