0

I just want to have role that can specifically adding media, use the existed media, but not edit OR delete them.

I was looking for the capability, but I don't see it listed.

Or it's really impossible to do that? How can I do achieve it programmatically?

2
  • 1
    You mean authors should not be able to edit media they have uploaded themselves?
    – cjbj
    Commented Jun 21, 2016 at 7:39
  • the author should BE ABLE to, 1. Upload, Edit, Delete their own media 2. Only VIEW another media uploaded by someone else So the authors can use it, but not delete it in media gallery. Is it possible, and how can I do that? thanks
    – gijoe
    Commented Jun 23, 2016 at 2:17

1 Answer 1

0

What you are asking is default behaviour for the author role. So you don't have to do anything.

When an author is in the process of inserting somebody else's media in his post, it looks like he can edit the properties, but this is only true for that current post. If he changes, for instance, the alt attribute, he will get a different alt attribute only for his own post. You could try to prevent that in the media manager, but that doesn't make sense, because when the html is inserted into the post, the author can change the attributes anyway.

1
  • I didn't even notice that! Glad to hear that cjbj, thanks!
    – gijoe
    Commented Jun 24, 2016 at 2:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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