summaryrefslogtreecommitdiff
path: root/addons/website_slides/security/ir.model.access.csv
AgeCommit message (Collapse)Author
2019-05-06[FIX] website_slides: Remove read access on slide.answerqmo-odoo
This commit removes the read access on slide.answer for all users except website_publisher and admin Task: #1947884 PR: #32083 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2019-02-19[IMP] website_slides: Add elearning feature to slidesqmo-odoo
Purpose of this commit is to introduce a new way of displaying and managing slides in eLearning module. Its purpose is to give a better experience to users when going through a course. Notably a fullscreen mode allows to take lessons one by one without going out of the elearning display. Integration of all slide types eases taking the course step by step. Quiz are introduced in this commit. Those are an addition to slides with some question / answers (multiple choice). It allows customer to gain karma and improves gamification. Certifications are still done using the survey application. Quiz targets only small tests at the end of a given slide. A new widget is added to display and control slide display in fullscreen mode. Old display is still available for documentation channels or when going out of fullscreen mode, to see details on comments / review / statistics and have access to share options. This commit is linked to task ID 1902304 and PR #29876. It closes the main work on refactoring website slides into eLearning, with other tasks already merged in current community [1][2][3][4][5]. [1] Task ID 1940360 landed at b2149bc7a274217a0b96e587abd52093bd98e5e8: certification inclusion [2] Task ID 1936153 landed at 6c6179e57cede3d9889c33873740a7b1ddecda2e: homepage inclusion [3] Task ID 1937160 landed at 8b7605c9e5df4a700b0139d1781db24ae5d31626: selling courses [4] Task ID 1922159 and 1940516 landed at 5fa651cb013ac67d7ba592498c4cf2770dec2483 and 6a64c3ce821f080969e49e5e760e52ae9bfc26cc: new user profile and gamification of slides / forum [5] Task ID 1938643 landed at 77b5673a0dd220b3c28e88f8acbb5274b486c5bd: upload channel/slide
2019-02-12[IMP] website_slides: add external links on slideqmo-odoo
A slide can now have some external link. For instance, links to the origin of the document (sources for scientifics papers, ...). A new model is added to allow the user to provide several link per slide. Those are display below the channel on website page. Task-1938643
2019-02-11[IMP] website_slides: add tags and tag groups on channelThibault Delavallée
Purpose is to be able to filter, search and categorize channels. Notably with eLearning in mind there will be more channels as a channel will also be used to hold lessons. For that purpose we add a model of tag linked to channels. Those tags are organized by groups in order to be able to display them using a menu or a small hierarchy of tags. Displaying a tag group as a specific navigation element is controlled by a specific field. Those models will be used to display a new and improved home page for channels / courses. This commit is linked to task ID 1936153 and PR #30985.
2019-02-08[REF] website_slides: update slide members relationshipThibault Delavallée
This commit changes decorated many2many between slides and participants recently introduced [1]. It was done between slide and users as people have to login to have slide information. Another many2many between channel and partners to store notably completion and soon add statistics has been added [2]. It has been done between channels and partners. In this commit we choose to have the same relationship for slides, aka a link between slides and partners. It allows to easily compute statistics and find information based on partner_id. Co-Authored-By: Quentin Mourrier <qmo@odoo.com> Co-Authored-By: Thibault Delavallée <tde@odoo.com> [1] See c273e89d5508a191a0e0f4d011e3283d9fe21615 [2] See 748b9072d645a16373f829013c3170721a931659
2019-02-08[FIX] website_slides: Fix clean ACLs and refactor access options commitDavid Beguin
Fixes related to commit 748b9072d645a16373f829013c3170721a931659 * fix template still having an unnecessary t-else whereas the t-if has been removed; * move order by strategy on right class; * fix access rights on intermediate model between channels and partners. It should be accessible to website publisher as they will have so manage channel members; * fix some typos; closes odoo/odoo#30949
2019-02-07[IMP] website_slides: clean ACLs and refactor access optionsThibault Delavallée
Purpose of this commit is to clean access rights on slide models and give less access to public / portal / internal users. Website publishers and editors have rights to edit slides content and manage channels. Another purpose is to clean and refactor access options on channels and slides. Access to a given slide depends on the current user being a member of the slide channel. A channel can be either public (joined easily) or on invitation only (manual addition of members). Slide can be flagged as preview, meaning they are accessible without any concern about channel membership. It is used as teasing or free promotion of a channel. Publish flag is orthogonal. Non published slides are not visible to everyone except website content editor. It allows to work and improve slides without displaying them to members or public people. Technically a new model is added to model membership on channels. It is a decorated m2m between channels and partners; on this m2m the state of membership is added. In a near future additional information will be stored on this model, like completion of channel or certification information. Other technical changes implied by this commit * visibility is simplified to either public or invite; * can_see and can_see_full are removed, as well as concept of 'partial' display of slides; * group_ids related to private access is removed; * a computed / searchable field is added to be able to efficiently find and search active members of a channel; This commit is linked to task ID 1937411 and PR #30847.
2019-01-29[REF] website_slides: introduce slide / user relationship and use it for voteThibault Delavallée
Purpose of this commit is to store a relationship between slides and users. Indeed starting from now we will track more user interaction with the slides module. In this commit we introduce a model that is used to populate and decorate the relationship between slides and users, slide.users. From slides or users point of view it behaves like a many2many. It can also be used to store more information about the user interaction with the slide. We use it here to store the user vote. Like and dislike are not static counters anymore but computed fields based on user votes. It is implemented as a tristate field. As it is a technical model no access on slide.users is granted. Controllers and methods grant access to the relationship in order to avoid information lead and keep technical details private. Future commits improving the eLearning use of slides will notably store information about user having read the slide, taken a quizz or gaining karma depending on some actions performed on the slide. This commit is linked to task ID 1934488 and PR #30620 .
2017-03-02[FIX] website_slides: Unpublished slides not visibleGoffin Simon
The rules "Channel: public: published only" and "Slide: public: published only" must also be applied on portal user. The portal user doesnt have to be allowed to create or write on slide.slide records(introduced by 51be5bb). opw:708499
2015-01-16[ADD] website_slides: new website module to handle presentations, documents,Mantavya Gajjar
videos, infographics. Some kind of slideshare clone, to summarize. Featuring : - channel management: classify slides (presentations, videos, documents, ...) and tune their access rights for visibility, uploading and downloading - full branding new shiny website module ! - automatic fetch of youtube and google docs information based on URL - statistics: views, likes, interfaced with messaging, ... - embed mechanism to embed slides in other websites Courtesy of RD India, notably Mantavya Gajjar, Ravi Gadhia, Vijay Patel, Pariket Trivedi Courtesy of Use Merge Team, notably Jerome Maes and Richard Mathot Let us not forget our usability testing teams that tested it quite a lot of time. Special thanks to Martin Trigaux that did nothing.