Files
odoo_source/addons/website_slides/security/ir.model.access.csv
T
mcm-odoo 90bf317c01 [REF] website_slides: define specific eLearning user groups
PURPOSE

Have user groups specific to eLearning to separate them from generic website
editors. Indeed this is a specific work area and require more than pure design
skills.

SPECIFICATIONS

Two user groups are added in this commit

  * group_website_slides_officer

    + can read any course/slide
    + can create a course (will be responsible)
    + can write on its courses
    + can upload slides to the courses he is responsible
    + can publish slides to the courses he is responsible
    - cannot unlink courses/slides (you should archive them)

    * implies group_website_publisher in order to see the top navbar in
      frontend with the publish toggle button and the new content button;

  * group_website_slides_manager: has full rights

    + can read any course/slide;
    + can create a course;
    + can add slide to any courses;
    + can publish any courses/slides;
    + can unlink any courses/slides;
    + has access to reporting menu entries;

Rights for other groups are untouched for courses / slides. As a reminder
we still support responsibles being outside of eLearning groups, for example
if an employee is a teacher that handles a course:

  * people in upload_group_ids of a channel can upload slides, even if they
    don't belong to any eLearning group;
  * people responsible of a course can upload and publish slides even if they
    don't belong to any eLearning group (done through controller as they
    don't have real rights on underlying models);

We choose to keep the survey rights separated from eLearning ones. Indeed
it is easy in odoo to update the imply_ids field of groups if necessary
to link survey / eLearning groups; default user template can also be updated
easily. Standard Odoo should therefore correctly separate those groups. The
only specific rights is that eLearning officers can read all surveys, allowing
to choose them for certification-based courses.

LINKS

Task ID 2062462
PR #39485

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2019-12-12 14:12:51 +00:00

2.5 KiB

1idnamemodel_id:idgroup_id:idperm_readperm_writeperm_createperm_unlink
2access_slide_slide_allslide.slide.allmodel_slide_slide1000
3access_slide_slide_officerslide.slide.officermodel_slide_slidewebsite_slides.group_website_slides_officer1110
4access_slide_slide_managerslide.slide.managermodel_slide_slidewebsite_slides.group_website_slides_manager1111
5access_slide_slide_partner_allslide.slide.partner.allmodel_slide_slide_partner0000
6access_slide_slide_partner_systemslide.slide.partner.systemmodel_slide_slide_partnerwebsite_slides.group_website_slides_officer1111
7access_slide_question_allslide.question.allmodel_slide_question1000
8access_slide_question_officerslide.question.officermodel_slide_questionwebsite_slides.group_website_slides_officer1111
9access_slide_answer_allslide.answer.allmodel_slide_answer0000
10access_slide_answer_officerslide.answer.officermodel_slide_answerwebsite_slides.group_website_slides_officer1111
11access_slide_tag_allslide.tag.allmodel_slide_tag1000
12access_slide_tag_officerslide.tag.officermodel_slide_tagwebsite_slides.group_website_slides_officer1111
13access_slide_channel_tag_allslide.channel.tag.allmodel_slide_channel_tag1000
14access_slide_channel_tag_userslide.channel.tag.usermodel_slide_channel_tagwebsite_slides.group_website_slides_officer1111
15access_slide_channel_tag_group_allslide.channel.tag.group.allmodel_slide_channel_tag_group1000
16access_slide_channel_tag_group_userslide.channel.tag.group.usermodel_slide_channel_tag_groupwebsite_slides.group_website_slides_officer1111
17access_slide_channel_allslide.channel.allmodel_slide_channel1000
18access_slide_channel_officerslide.channel.officermodel_slide_channelwebsite_slides.group_website_slides_officer1110
19access_slide_channel_managerslide.channel.managermodel_slide_channelwebsite_slides.group_website_slides_manager1111
20access_slide_channel_partners_allslide.channel.users.allmodel_slide_channel_partner0000
21access_slide_channel_partners_systemslide.channel.users.systemmodel_slide_channel_partnerwebsite_slides.group_website_slides_officer1111
22access_slide_embed_allslide.embed.allmodel_slide_embed1000
23access_slide_embed_userslide.embed.usermodel_slide_embedbase.group_user1111
24access_slide_slide_link_allslide.slide.link.allmodel_slide_slide_link1000
25access_slide_slide_link_officerslide.slide.link.officermodel_slide_slide_linkwebsite_slides.group_website_slides_officer1111