[GH-ISSUE #17] Basic permissions support #3

Closed
opened 2026-02-27 11:09:36 +03:00 by kerem · 2 comments
Owner

Originally created by @tonioo on GitHub (Dec 4, 2013).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/17

Originally assigned to: @tonioo on GitHub.

Originally created by Antoine Nguyen on 2009-04-02T08:45:31Z

Implement a basic permissions/role support. It would be great to have following roles available :

  • Super admin : can do anything,
  • Domain(s) admin : can do anything on owned domains,
  • Simple user : actually useless but needed for futures developements.

Django has a functionnal permissions implementation inside the authentication module (already used).

Originally created by @tonioo on GitHub (Dec 4, 2013). Original GitHub issue: https://github.com/modoboa/modoboa/issues/17 Originally assigned to: @tonioo on GitHub. **Originally created by Antoine Nguyen on 2009-04-02T08:45:31Z** Implement a basic permissions/role support. It would be great to have following roles available : - Super admin : can do anything, - Domain(s) admin : can do anything on owned domains, - Simple user : actually useless but needed for futures developements. Django has a functionnal permissions implementation inside the authentication module (already used).
kerem 2026-02-27 11:09:36 +03:00
Author
Owner

@tonioo commented on GitHub (Dec 4, 2013):

Posted by Antoine Nguyen on 2009-04-09T08:44:27Z

First working implementation : [0ebccc625eff]

There is a problem to solve inside the domain_menu tag because the request_context is not provided. The consequence is that user and permissions are not available inside the template so we cannot properly filter the display.

<!-- gh-comment-id:29813096 --> @tonioo commented on GitHub (Dec 4, 2013): **Posted by Antoine Nguyen on 2009-04-09T08:44:27Z** First working implementation : [0ebccc625eff] There is a problem to solve inside the domain_menu tag because the request_context is not provided. The consequence is that user and permissions are not available inside the template so we cannot properly filter the display.
Author
Owner

@tonioo commented on GitHub (Dec 4, 2013):

Posted by Antoine Nguyen on 2009-04-16T16:10:09Z

Job's done from [9849b0cdc1ff]

<!-- gh-comment-id:29813097 --> @tonioo commented on GitHub (Dec 4, 2013): **Posted by Antoine Nguyen on 2009-04-16T16:10:09Z** Job's done from [9849b0cdc1ff]
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#3
No description provided.