• Resolved ioian

    (@ioian)


    I need to be able to remove the security from all posts by a certain author.

    Do I just need to remove the ctx_ps_security meta value for each post for that author or is there something stored in another table that I need to remove?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dutch van Andel

    (@veraxus)

    That’ll do the trick. That meta dictates whether a post is secure, and group permissions are only checked if the meta key is set. Removing the meta key is essentially like unchecking the protect box without removing group associations (which don’t matter without the meta).

    Thread Starter ioian

    (@ioian)

    Thanks for that.

    I only ever had it protected for “registered users” so I am guessing that it wouldn’t have added any group associations anyway?

    Plugin Author Dutch van Andel

    (@veraxus)

    Registered Users is a “system group”. It’s in the database, but locked down so that it can’t be modified or deleted.

    In any case, all this means is that if you ever re-enable protection for content that has had ctx_ps_security deleted, any groups that used to be attached will simply reappear. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Removing security from all posts by a certain author’ is closed to new replies.