• christopherdarling

    (@christopherdarling)


    Occasionally, I want a site to feature a block (a core block, or custom one) but want to, through the use of user roles;

    1. restrict the client from adjusting the content
    2. prevent a client from adding it elsewhere other than the places I locate them

    I haven’t been able to find any docs to enable me to do this or any plugins to provide this. Does anyone know of any or have any pointers?

    • This topic was modified 5 months ago by christopherdarling. Reason: extra info provided + tags
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    It’s feasible to have a block whose content cannot be altered, but anyone with edit_posts capability could still remove, copy, move, or reuse the entire block. You pretty much would need to lock down the entire post to prevent someone from doing so. This could be accomplished by removing the edit_others_posts capability from the client’s users or role. Thus they can only edit their own posts and not those of any others.

    Thread Starter christopherdarling

    (@christopherdarling)

    Thanks! Thought that the Locking API might be possible or something

    That’s a shame, seems a pretty logical use-case. Maybe I’ll create a feature request for it

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.