WPFront
  • Home
  • Plugins
    • Notification Bar Plugin
      • Plugin Ideas
      • Plugin Settings
      • Plugin FAQ
    • Scroll Top Plugin
      • Plugin Settings
      • Plugin FAQ
    • User Role Editor Plugin
      • Plugin Documentation
      • Plugin Settings
      • Plugin FAQ
    • Paddle Gateway Plugin
  • Go Pro
  • Support
    • Documentation
    • FAQ
  • Affiliates
  • Contact
  • Login
  • Cart
  • This topic has 2 replies, 2 voices, and was last updated 8 years, 6 months ago by Syam Mohan.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • October 31, 2016 at 5:03 pm #41153
    Florian Heinz
    Participant

    Hi Syam,

    a customer of mine is going to publish posts only to registered users: So we have to uncheck the role permissions for each post and uncheck “Guest”. Is it possible to automate this process (like: Autoset all Role permissions for an specific custom post type to a specific role permission).

    Thanks,
    Florian

    October 31, 2016 at 5:25 pm #41155
    Florian Heinz
    Participant

    Hi,

    I edited in class-wpfront-user-role-editor-post-typepermissions.php line 92 to

    $this->enable_permissions = TRUE;

    and the part from line 115 to

                $this->roles[self::$GUEST_ROLE_KEY] = array($this->__('[Guest]'),   
                    array(FALSE, FALSE,),
                    array(FALSE, TRUE)
                );

    Do you have any suggestion, to make the plugin update save (I do not want to set the version of the plugin to v. 1000 or something :))

    Thanks,
    Florian

    November 3, 2016 at 7:48 pm #41358
    Syam Mohan
    Keymaster

    Hi Florian,

    Plugin update will overwrite any code change you made. At this point there is no way other than not letting the plugin update.

    This functionality is something I have in my list. Until then you will be able to use the bulk edit option to update all posts against a post type. The next version(will be released this week or the next) has bulk edit option to update just a single role.

    Thanks

    Syam

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Automated Right-Management for Posts’ is closed to new replies.
Log In
Lost Password

Search Topics

Documentation

FAQ
Roles List Add Role Edit Role Delete Role Restore Role Add or Remove Capability Assign/Migrate Users Posts/Pages Extended Permissions Custom Post Type Permissions Navigation Menu Permissions Widget Permissions Admin Menu Editor Media/Attachment File Permissions User Level Permissions Content Restriction Shortcodes Login Redirect Export Roles Import Roles Bulk Edit Settings Multisite Roles List Multisite Add New Role Multisite Edit Role Multisite Delete Role Multisite Restore Role Multisite Sync Roles Multisite Settings WordPress Capabilities Actions and Filters Installation Instructions