Files
odoo_source/addons/website/security/ir.model.access.csv
T
Jeremy Kersten be8fc2296b [IMP] base, http_routing, website: allow custom routing rule
After this commit, you will be able (in technical mode) to update the url for
the python controllers.

Eg.
You can now rename /shop in /garden and /shop/product/ in /garden/vegetable/

Most of urls will be replaced at fly in the renderd qweb, with the function
url_for but all old urls will keep available. So if you access url /shop you
will be automatically redirected to /garden (308 Permanent Redirect).

As for cdn and other post-process of att, the automatically replacement in the
rendered qweb is only done when you will be not website editor. But the new
dispatch of URL will be applied in all cases.

For developper, since it is Permanent Redirect, don't forget to clear cache or
open chrome debug tool (with option 'Disable cache while DevTools is Open) to
see your lasts changes.

closes odoo/odoo#36555

Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2019-09-30 13:58:14 +00:00

2.0 KiB

1idnamemodel_id:idgroup_id:idperm_readperm_writeperm_createperm_unlink
2access_website_publicwebsitewebsite.model_website1000
3access_website_designerwebsitewebsite.model_websitegroup_website_designer1111
4access_website_menuaccess_website_menumodel_website_menu1000
5access_website_menu_designerWeb Menu Managermodel_website_menugroup_website_designer1111
6access_website_rewriteaccess_website_rewritemodel_website_rewrite0000
7access_website_rewrite_designerWeb Rewrite Managermodel_website_rewritegroup_website_designer1111
8access_website_pageaccess_website_pagemodel_website_page1000
9access_website_page_designerWeb Page Managermodel_website_pagegroup_website_designer1111
10access_websiteweb menu managerwebsite.model_websitegroup_website_designer1111
11access_website_ir_ui_viewaccess_website_ir_ui_viewmodel_ir_ui_viewgroup_website_designer1111
12access_seo_publicaccess_seo_publicmodel_website_seo_metadata1000
13access_seo_manageraccess_seo_managermodel_website_seo_metadatagroup_website_designer1111
14access_seo_designeraccess_seo_designermodel_website_seo_metadatagroup_website_designer1111
15access_website_visitor_designeraccess_website_visitor_designermodel_website_visitorwebsite.group_website_designer1111
16access_website_visitor_systemaccess_website_visitor_systemmodel_website_visitorbase.group_system1111
17access_website_visitor_lastconnection_designeraccess_website_visitor_lastconnection_designermodel_website_visitor_lastconnectionwebsite.group_website_designer1111
18access_website_visitor_lastconnection_systemaccess_website_visitor_lastconnection_systemmodel_website_visitor_lastconnectionbase.group_system1111
19access_website_track_designeraccess_website_track_designermodel_website_trackwebsite.group_website_designer1111
20access_website_track_systemaccess_website_track_systemmodel_website_trackbase.group_system1111
21access_website_route_designeraccess_website_designer_routemodel_website_routegroup_website_designer1111