I am working on a website where I have student guardian relationships. So when a guardian is visiting his student profile, he should be able to edit, delete all the fields that a user itself can do. I am using buddypress and have used rtmedia plugin. Now For example, student uploads media, images. By default, other user can’t delete or edit the media. But in my case, guardian should be capable of editing and deleting students media. Can you tell me where I can modify user roles or can you send me code to do this? I am thinking that if I assign the admin role to guardian when he is viewing students profile then my problem can be solved. But I don’t know how to assign a user amdin role. Thanks
Attachment Link(s):
http://rtcamp.com/wp-content/uploads/rtMedia/topics/65610/2014/05/Support.png