{"id":1492,"date":"2013-03-20T13:15:40","date_gmt":"2013-03-20T13:15:40","guid":{"rendered":"http:\/\/webkul.com\/blog\/?p=1492"},"modified":"2013-03-20T13:26:08","modified_gmt":"2013-03-20T13:26:08","slug":"openerp-security-permissions","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/openerp-security-permissions\/","title":{"rendered":"OpenERP Security and permissions"},"content":{"rendered":"<p><strong>OpenERP Security and permissions:<\/strong><br \/>\nIn OpenERP, Security is a major concern\u00a0 when any application is considered.\u00a0 Security is an important factor and it is easy to provide security in module basis.<\/p>\n<p>Groups can be created as normal records. objects may be accessible indirectly without menu. In order to prevent this, object level permissions must be defined for groups.<br \/>\nyou can insert permissions via CSV file in the security folder inside module.<br \/>\nfile name always is\u00a0<span style=\"color: #800000\"> ir.model.access.csv<\/span><\/p>\n<p>The example below provide a basic view of providing group based access rights.<br \/>\n<strong>Defining group :<\/strong><br \/>\n<a href=\"http:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2013\/03\/Screenshot-from-2013-03-20-1804081.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1491\" alt=\"Screenshot from 2013-03-20 18:04:08\" src=\"http:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2013\/03\/Screenshot-from-2013-03-20-1804081.png\" width=\"887\" height=\"209\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2013\/03\/Screenshot-from-2013-03-20-1804081.png 887w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2013\/03\/Screenshot-from-2013-03-20-1804081-300x70.png 300w\" sizes=\"(max-width: 887px) 100vw, 887px\" loading=\"lazy\" \/><\/a><\/p>\n<p><strong>Defining Access Rights (<span style=\"color: #800000\"> ir.model.access.csv<\/span> ) :<\/strong><\/p>\n<p><a href=\"http:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2013\/03\/Screenshot-from-2013-03-20-182930.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1497\" alt=\"Screenshot from 2013-03-20 18:29:30\" src=\"http:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2013\/03\/Screenshot-from-2013-03-20-182930.png\" width=\"789\" height=\"248\" loading=\"lazy\" \/><\/a><\/p>\n<p style=\"text-align: left\">Now you can give Menu Access to this group. As we know that we defined our group above. we can give this group to our menu or we can define another field\u00a0<span style=\"color: #800000\"> menu_access<\/span>\u00a0 in group record.<\/p>\n<p style=\"text-align: left\">Menu Access to group<\/p>\n<p style=\"text-align: left\"><a href=\"http:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2013\/03\/Screenshot-from-2013-03-20-183826.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1499\" alt=\"Screenshot from 2013-03-20 18:38:26\" src=\"http:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2013\/03\/Screenshot-from-2013-03-20-183826.png\" width=\"780\" height=\"148\" loading=\"lazy\" \/><\/a><\/p>\n<p style=\"text-align: left\">\u00a0And please , don&#8217;t forget to include the <span style=\"color: #800000\">xml files<\/span> and\u00a0<span style=\"color: #800000\">ir.model.access.csv\u00a0<\/span> in the OpenERP Descriptor with full path. As you already know\u00a0\u00a0 \ud83d\ude42 \ud83d\ude42<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OpenERP Security and permissions: In OpenERP, Security is a major concern\u00a0 when any application is considered.\u00a0 Security is an important factor and it is easy to provide security in module basis. Groups can be created as normal records. objects may be accessible indirectly without menu. In order to prevent this, object level permissions must be <a href=\"https:\/\/webkul.com\/blog\/openerp-security-permissions\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[166],"tags":[],"class_list":["post-1492","post","type-post","status-publish","format-standard","hentry","category-openerp"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>OpenERP Security and permissions - Webkul Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/openerp-security-permissions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"OpenERP Security and permissions - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"OpenERP Security and permissions: In OpenERP, Security is a major concern\u00a0 when any application is considered.\u00a0 Security is an important factor and it is easy to provide security in module basis. Groups can be created as normal records. objects may be accessible indirectly without menu. In order to prevent this, object level permissions must be [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/openerp-security-permissions\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2013-03-20T13:15:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2013-03-20T13:26:08+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/webkul.com\/blog\/wp-content\/uploads\/2013\/03\/Screenshot-from-2013-03-20-1804081.png\" \/>\n<meta name=\"author\" content=\"Sandeep Rana\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sandeep Rana\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/openerp-security-permissions\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/openerp-security-permissions\/\"},\"author\":{\"name\":\"Sandeep Rana\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/c8f2d6b53a264672efefa61a18409472\"},\"headline\":\"OpenERP Security and permissions\",\"datePublished\":\"2013-03-20T13:15:40+00:00\",\"dateModified\":\"2013-03-20T13:26:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/openerp-security-permissions\/\"},\"wordCount\":174,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/openerp-security-permissions\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/webkul.com\/blog\/wp-content\/uploads\/2013\/03\/Screenshot-from-2013-03-20-1804081.png\",\"articleSection\":[\"OpenERP\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/openerp-security-permissions\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/openerp-security-permissions\/\",\"url\":\"https:\/\/webkul.com\/blog\/openerp-security-permissions\/\",\"name\":\"OpenERP Security and permissions - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/openerp-security-permissions\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/openerp-security-permissions\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/webkul.com\/blog\/wp-content\/uploads\/2013\/03\/Screenshot-from-2013-03-20-1804081.png\",\"datePublished\":\"2013-03-20T13:15:40+00:00\",\"dateModified\":\"2013-03-20T13:26:08+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/openerp-security-permissions\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/openerp-security-permissions\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/openerp-security-permissions\/#primaryimage\",\"url\":\"http:\/\/webkul.com\/blog\/wp-content\/uploads\/2013\/03\/Screenshot-from-2013-03-20-1804081.png\",\"contentUrl\":\"http:\/\/webkul.com\/blog\/wp-content\/uploads\/2013\/03\/Screenshot-from-2013-03-20-1804081.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/openerp-security-permissions\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OpenERP Security and permissions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/c8f2d6b53a264672efefa61a18409472\",\"name\":\"Sandeep Rana\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/afa9b4648d51bcf447e3a586271331bc2a9ae88344084386b1b5f2be6e5acecf?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/afa9b4648d51bcf447e3a586271331bc2a9ae88344084386b1b5f2be6e5acecf?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Sandeep Rana\"},\"sameAs\":[\"http:\/\/webkul.com\"],\"url\":\"https:\/\/webkul.com\/blog\/author\/sandeep-rana\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"OpenERP Security and permissions - Webkul Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/openerp-security-permissions\/","og_locale":"en_US","og_type":"article","og_title":"OpenERP Security and permissions - Webkul Blog","og_description":"OpenERP Security and permissions: In OpenERP, Security is a major concern\u00a0 when any application is considered.\u00a0 Security is an important factor and it is easy to provide security in module basis. Groups can be created as normal records. objects may be accessible indirectly without menu. In order to prevent this, object level permissions must be [...]","og_url":"https:\/\/webkul.com\/blog\/openerp-security-permissions\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2013-03-20T13:15:40+00:00","article_modified_time":"2013-03-20T13:26:08+00:00","og_image":[{"url":"http:\/\/webkul.com\/blog\/wp-content\/uploads\/2013\/03\/Screenshot-from-2013-03-20-1804081.png","type":"","width":"","height":""}],"author":"Sandeep Rana","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Sandeep Rana","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/openerp-security-permissions\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/openerp-security-permissions\/"},"author":{"name":"Sandeep Rana","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/c8f2d6b53a264672efefa61a18409472"},"headline":"OpenERP Security and permissions","datePublished":"2013-03-20T13:15:40+00:00","dateModified":"2013-03-20T13:26:08+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/openerp-security-permissions\/"},"wordCount":174,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/openerp-security-permissions\/#primaryimage"},"thumbnailUrl":"http:\/\/webkul.com\/blog\/wp-content\/uploads\/2013\/03\/Screenshot-from-2013-03-20-1804081.png","articleSection":["OpenERP"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/openerp-security-permissions\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/openerp-security-permissions\/","url":"https:\/\/webkul.com\/blog\/openerp-security-permissions\/","name":"OpenERP Security and permissions - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/openerp-security-permissions\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/openerp-security-permissions\/#primaryimage"},"thumbnailUrl":"http:\/\/webkul.com\/blog\/wp-content\/uploads\/2013\/03\/Screenshot-from-2013-03-20-1804081.png","datePublished":"2013-03-20T13:15:40+00:00","dateModified":"2013-03-20T13:26:08+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/openerp-security-permissions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/openerp-security-permissions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/openerp-security-permissions\/#primaryimage","url":"http:\/\/webkul.com\/blog\/wp-content\/uploads\/2013\/03\/Screenshot-from-2013-03-20-1804081.png","contentUrl":"http:\/\/webkul.com\/blog\/wp-content\/uploads\/2013\/03\/Screenshot-from-2013-03-20-1804081.png"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/openerp-security-permissions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"OpenERP Security and permissions"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/c8f2d6b53a264672efefa61a18409472","name":"Sandeep Rana","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/afa9b4648d51bcf447e3a586271331bc2a9ae88344084386b1b5f2be6e5acecf?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/afa9b4648d51bcf447e3a586271331bc2a9ae88344084386b1b5f2be6e5acecf?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Sandeep Rana"},"sameAs":["http:\/\/webkul.com"],"url":"https:\/\/webkul.com\/blog\/author\/sandeep-rana\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/1492","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=1492"}],"version-history":[{"count":8,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/1492\/revisions"}],"predecessor-version":[{"id":1504,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/1492\/revisions\/1504"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=1492"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=1492"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=1492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}