Giter VIP home page Giter VIP logo

Comments (8)

marcelklein1898 avatar marcelklein1898 commented on June 20, 2024 3

Hello,
In the case of a site with many authors, I think it would be good to separate roles between three types of users:

  1. Administrator: with all permissions.
  2. Editor: only with permissions to edit other authors' posts and, perhaps, the static pages. I'm not sure if the latter is recommended.
  3. Writer: who can only edit his own posts.

Best regards

from htmly.

danpros avatar danpros commented on June 20, 2024 1

Please try the latest version (v.2.9.6), new users management and roles.

from htmly.

danpros avatar danpros commented on June 20, 2024

Hello,

Yes its possible, you need to create the user manually and set the role to role = user. This feature is still very basic, it needs to be developed further.

from htmly.

RenaudILTIS avatar RenaudILTIS commented on June 20, 2024

OK, I will test it and see what is allowed to the user.
Thanks.

from htmly.

RenaudILTIS avatar RenaudILTIS commented on June 20, 2024

I just tested it.

There are some issues : the user has access to all the buttons of the statics pages, and can edit all content by using the Edit button on the website view. Could you fix it ? I think that a "user" must only be authorised to modify a content if it's his content.
Simple rule : if there is a modification of a content and that the user is not the author, abort.

What do you think about it ?

from htmly.

danpros avatar danpros commented on June 20, 2024

At the moment it only show the access denied page when regular user try to edit other user content. Previously, development prioritized performance and features, where these features were very necessary for simple blogging, so even though the role already existed, it had not been implemented optimally.

So for the next versions, let's try to focus on blogging for several writers

from htmly.

RenaudILTIS avatar RenaudILTIS commented on June 20, 2024

👍 🙏

from htmly.

danpros avatar danpros commented on June 20, 2024

Hi,

That's good idea, let see how it goes

from htmly.

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.