Giter Club home page Giter Club logo

Comments (6)

mwvolo avatar mwvolo commented on June 2, 2024

Do you have a suggestion on how we implement this?

from openstax-cms.

rich-hart avatar rich-hart commented on June 2, 2024

Actually, I think that it's already implemented. I was worried about the case of where an editor creates a page, deletes it, then creates it again. Which would cause fields like id to change. But i forgot that the editors group allows users to change pages while restricting them from being deleted. So in the way the site is currently designed, id should remain static unless an admin decides to delete a page for some reason.

from openstax-cms.

mwvolo avatar mwvolo commented on June 2, 2024

Hmm, I don't think Editors are restricted from deleting pages - or at least that has not been specified yet. I agree that these ID's will not change once the page is created -unless it is deleted (obviously).
I think what Dak wanted initially, was us to replace the IDs with the slug name of the page, which might be a possibility. Either option does not restrict people from breaking things if they do things they shouldn't. We can keep this open until we hear more from the frontend people on how big of an issue this is.

from openstax-cms.

rich-hart avatar rich-hart commented on June 2, 2024

ok.... Btw, here are the default editor permissions just in case it's relevant later.
editor_permissions

from openstax-cms.

rich-hart avatar rich-hart commented on June 2, 2024

Ok, just to repost what I talked about with @mwharrison. These settings are misleading. The site is currently configured to let editors have permissions to change all content on the site, that includes deleting pages. Editors can be restricted from deleting pages but it wouldn't make sense given we'll only have 1 editor managing all the content for the foreseeable future,

from openstax-cms.

mwvolo avatar mwvolo commented on June 2, 2024

The reason for the discrepancy is the decision to create groups that correspond to Openstax needs. We don't have enough people to have an editor and a moderator role, so it has been requested that the Editor role inherit all the moderator permissions - including deleting content.

from openstax-cms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.