Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple users with different roles ? #707

Closed
RenaudILTIS opened this issue Mar 24, 2024 · 8 comments
Closed

Multiple users with different roles ? #707

RenaudILTIS opened this issue Mar 24, 2024 · 8 comments

Comments

@RenaudILTIS
Copy link

Hello, is it possible to add some writers, other than the admin, with different roles ?

Best regards,
R.

@danpros
Copy link
Owner

danpros commented Mar 25, 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.

@RenaudILTIS
Copy link
Author

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

@RenaudILTIS
Copy link
Author

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 ?

@danpros
Copy link
Owner

danpros commented Mar 25, 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

@RenaudILTIS
Copy link
Author

RenaudILTIS commented Mar 26, 2024

👍 🙏

@marcelklein1898
Copy link

marcelklein1898 commented Mar 28, 2024

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

@danpros
Copy link
Owner

danpros commented Mar 28, 2024

Hi,

That's good idea, let see how it goes

@danpros
Copy link
Owner

danpros commented Mar 31, 2024

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

@danpros danpros closed this as completed Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants