- Odoo 11 Development Essentials(Third Edition)
- Daniel Reis
- 121字
- 2021-08-27 19:32:45
Setting up access security
You might have noticed that, upon loading, our module is getting a warning message in the server log:
The model todo.task has no access rules, consider adding one.
The message is pretty clear: our new model has no access rules, so it can't be used by anyone other than the admin superuser. As a superuser, the admin ignores data access rules, and that's why we were able to use the form without errors. But we must fix this before other users can use our model.
Another issue we have yet to address is that we want the To-Do tasks to be private to each user. Odoo supports row-level access rules, which we can use to implement that.
推薦閱讀
- Excel 2013使用詳解
- MATLAB 2020中文版從入門到精通
- Word-Excel-PPT 2010辦公應用從入門到精通(實戰強化版)
- Office 2013辦公應用從入門到精通
- 左手Excel右手Tableau數據分析可視化實戰案例視頻精講
- Office2010從入門到精通(視頻講解+圖解+技巧)
- 隨身查: 一小時搞定你想要的PPT
- Word/Excel/PPT從入門到精通
- 30天精學Excel:從菜鳥到數據分析高手
- MATLAB及Mathematica軟件應用
- Unity 3D\2D手機游戲開發:從學習到產品(第3版)
- Office 2013應用技巧實例大全
- Pentaho 5.0 Reporting by Example
- Excel VBA應用案例速查手冊
- Excel商務數據分析與應用(慕課版·第2版)