Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6533927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:11:20+00:00 2026-05-25T10:11:20+00:00

In a Plone site there is a permission called access inactive portal content. By

  • 0

In a Plone site there is a permission called “access inactive portal content”. By default, this is granted to the roles “Manager” and “Owner”.

I want to grant this permission to the role “Editor” as well, and I know I can just use the corresponding checkbox in the “Security” tab in the ZMI, but I’d like to do it programmatically in some sort of setup script. How would I do that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T10:11:21+00:00Added an answer on May 25, 2026 at 10:11 am

    you have to create a new product and add a genericsetup step called “rolemap.xml” with this:

    <?xml version="1.0"?>
    <rolemap>
      <permissions>
        <permission name="Access inactive portal content" acquire="False">
          <role name="Editor" />
        </permission>
      </permissions>
    </rolemap>
    

    More info:

    • http://plone.org/documentation/kb/genericsetup
    • http://plone.org/documentation/manual/developer-manual/generic-setup/reference/roles-and-permissions

    Bye, Giacomo

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way to change the PLONE_SITE_ID from its default at plone.app.testing.interfaces without
I have a navtree on a plone site, already using this configuration: navigation =
I have a site running Plone 4.1 which has a custom content type developed
Plone has a neat categorization feature of content using tags and a tag cloub.
I have been trying to create a new content type for Plone based on
I have been running zope / plone site for about a year now -
I use xmlrpclib, wsapi4plone to connect to plone: client = xmlrpclib.ServerProxy('http://user:password@blah.com/plone') is there a
I have been using Plone 4.2 without problems but want to test my site
I have just installed a theme in Plone called beyondskins.responsive. Now I want to
I have a Plone 4 site using collective.xdv for the theme. Overlays for the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.