Permissions¶
Overview¶
juntagrico relies heavily on the Django permission mechanism to customize the system for different users. In this chapter we will explain which permissions can be used for customization and how they work.
Grant Permissions¶
Permissions are granted in the admin part of juntagrico, which in fact is the admin part of Django. To grant someone a permission, the persons User
has to be edited.
You find a link to a members user instance in the member admin form.
There you can search for a permission and add it to the user using the little right arrow next to it. Do not forget to save the user in order for the permissions to take effect.
You can also create groups of permissions which can be assigned to single users. If you need more information on that check out the Django documentation concerning permissions.
Area and Depot Admins¶
juntagrico.is_depot_admin¶
Should be assigned to members which are administator of a depot, so that they can filter and communicate with the members in their depot.
- Search Hints:
- German: Benutzer ist Depot Admin
juntagrico.is_area_admin¶
Should be assigned to members which are administator of an activity area, so that they can filter and communicate with the members in their area. Also it allows them to create new jobs and comunicate with the members participating in one of the jobs of their area.
- Search Hints:
- German: Benutzer ist Tätigkeitsbereichskoordinator
Notifications¶
Some entities send a notification email when they are created or cancelled. Should a member be notified on a certain event it has to have the corresponding permission for that entity type and event.
juntagrico.notified_on_member_creation¶
Member gets notified when a member is created.
- Search Hints:
- German: Erstellung informiert
juntagrico.notified_on_member_cancellation¶
Member gets notified when a member cancels his membership.
- Search Hints:
- German: Kündigung informiert
juntagrico.notified_on_subscription_creation¶
Member gets notified when a subscription is created.
- Search Hints:
- German: Erstellung informiert
juntagrico.notified_on_subscription_cancellation¶
Member gets notified when a subscription is cancelled.
- Search Hints:
- German: Kündigung informiert
juntagrico.depot_list_notification¶
Member gets notified when the depot list is generated.
- Search Hints:
- German: Listen-Erstellung informiert
Email Permissions¶
juntagrico.can_use_general_email¶
Member can use the email address specified in the setting INFO_EMAIL as sender in the mail form.
- Search Hints:
- German: General Email
Edit Permissions¶
juntagrico.can_edit_past_jobs¶
Member can edit jobs which are in the past.
- Search Hints:
- German: vergangene
juntagrico.can_change_deactivated_subscriptions¶
Member can edit subscriptions which are deactivated.
- Search Hints:
- German: deaktivierte
Dependent Permissions¶
In order to be able to edit some types of entites not only the change
permission of this entity type has to be granted to a member but also
some dependent permissions.
Subscription¶
Also requires change permissions for subscription parts and subscription membership.
Jobs¶
Also requires change permission for assignments and job extras.
Deliveries¶
Also requires change permission for deliver item.