SlideShare une entreprise Scribd logo
1  sur  12
Télécharger pour lire hors ligne
Security in OpenERP
                                  Harshad Modi & Raphael Collet




OpenERP 6.1. Offer compléter
   Nom du fichier – à
Overview


    - sales tool for partners who can propose to their customers. 2-4 slides/big feature.




OpenERP 6.1. Offer compléter
   Nom du fichier – à
Authentication Process


    - sales tool for partners who can propose to their customers. 2-4 slides/big feature.


   •    OpenERP Authentication Handler
           Plain password (default)
           o


         o
           Encrypted password (base_crypt)
   •    Third Party Authentication Handler (LDAP,
        OpenID)




OpenERP 6.1. Offer compléter
   Nom du fichier – à
Connect with OpenId




OpenERP 6.1. Offer compléter
   Nom du fichier – à
Connect with LDAP




OpenERP 6.1. Offer compléter
   Nom du fichier – à
Data Level Security




OpenERP 6.1. Offer compléter
   Nom du fichier – à
Data Level Security




OpenERP 6.1. Offer compléter
   Nom du fichier – à
Example: Customer Group
!record {model: res.groups, id: base.group_sale_customer}:
  name: Customer
  category_id: base.module_category_sales_management
Example: Saleman Group
!record {model: res.groups, id: base.group_sale_salesman}:
  name: Sales Person
  category_id: base.module_category_sales_management
  implied_ids:
       - base.group_sale_customer

Example: User
!record {model: res.users, id: user_john}:
  name: Mr.John
  groups_id: base.group_sale_saleman
  OpenERP 6.1. Offer compléter
     Nom du fichier – à
Record Rules


   •   Rule Definition
         o
              Condition for restrict access to subset of
              records
         o
              On Access Rights (Create, Read, Write,
              Delete)
   •   Global or Group Specific




OpenERP 6.1. Offer compléter
   Nom du fichier – à
Example:
   !record {model: ir.rule, id:sale_order_personal_rule}:
      name: Personal Orders
      model_id: model_sale_order
      domain_force: ['|',('user_id','=',user.id),
      ('user_id','=',False)]
      groups:
          - base.group_sale_saleman




OpenERP 6.1. Offer compléter
   Nom du fichier – à
UI Level Security
  Restrict Menu to groups of users
!record {model: ir.ui.menu, id:menu_sale_order}:
   name: Configuration
   parent: base.menu_sales
   sequence: 4
   groups:
      - base.base.group_sale_manager

Restrict Workflow Transition to groups of users
!record {model:workflow.transition, id:trans_draft_router}:
   act_from: act_draft
   act_to: act_router
   signal: order_confirm
   group:
      - base.group_sale_customer
       - base.group_sale_saleman
       - base.base.group_sale_manager

Restrict/Hide Fields in Forms to groups of users
<field name="product_uom" string="UoM" groups="product.group_uom"/>




OpenERP 6.1. Offer compléter
   Nom du fichier – à
Portal and Share

   •   Portal
             Define Portal group
              


            Configured Record Rules and Access
             Rights
   •   Share Record Access
                     Create on-the-fly user from email
                      address
                     Create on-the-fly group with specific
                      record rules




OpenERP 6.1. Offer compléter
   Nom du fichier – à

Contenu connexe

Similaire à OpenERP - Security in OpenERP

Open Source RAD with OpenERP 7.0
Open Source RAD with OpenERP 7.0Open Source RAD with OpenERP 7.0
Open Source RAD with OpenERP 7.0
Quang Ngoc
 
OpenERP Technical Memento V0.7.3
OpenERP Technical Memento V0.7.3OpenERP Technical Memento V0.7.3
OpenERP Technical Memento V0.7.3
Borni DHIFI
 
Build your LDAP Web Interface with LinID Directory Manager
Build your LDAP Web Interface with LinID Directory ManagerBuild your LDAP Web Interface with LinID Directory Manager
Build your LDAP Web Interface with LinID Directory Manager
LDAPCon
 
LA Drupal Camp 2012- Maintaining a Drupal Site
LA Drupal Camp 2012- Maintaining a Drupal SiteLA Drupal Camp 2012- Maintaining a Drupal Site
LA Drupal Camp 2012- Maintaining a Drupal Site
meghsweet
 
Rubyspec y el largo camino hacia Ruby 1.9
Rubyspec y el largo camino hacia Ruby 1.9Rubyspec y el largo camino hacia Ruby 1.9
Rubyspec y el largo camino hacia Ruby 1.9
David Calavera
 
Implementation Assistance
Implementation AssistanceImplementation Assistance
Implementation Assistance
Odoo
 
Code quality tools for dev
Code quality tools for devCode quality tools for dev
Code quality tools for dev
Deepu S Nath
 
Howtobuildyourownframework
HowtobuildyourownframeworkHowtobuildyourownframework
Howtobuildyourownframework
hazzaz
 

Similaire à OpenERP - Security in OpenERP (20)

Most Popular Hadoop Interview Questions and Answers
Most Popular Hadoop Interview Questions and AnswersMost Popular Hadoop Interview Questions and Answers
Most Popular Hadoop Interview Questions and Answers
 
Open Source RAD with OpenERP 7.0
Open Source RAD with OpenERP 7.0Open Source RAD with OpenERP 7.0
Open Source RAD with OpenERP 7.0
 
Introduction to PHP OOP
Introduction to PHP OOPIntroduction to PHP OOP
Introduction to PHP OOP
 
OpenERP Technical Memento V0.7.3
OpenERP Technical Memento V0.7.3OpenERP Technical Memento V0.7.3
OpenERP Technical Memento V0.7.3
 
Api's and ember js
Api's and ember jsApi's and ember js
Api's and ember js
 
Build your LDAP Web Interface with LinID Directory Manager
Build your LDAP Web Interface with LinID Directory ManagerBuild your LDAP Web Interface with LinID Directory Manager
Build your LDAP Web Interface with LinID Directory Manager
 
www.webre24h.com - Advanced php security
www.webre24h.com - Advanced php securitywww.webre24h.com - Advanced php security
www.webre24h.com - Advanced php security
 
LA Drupal Camp 2012- Maintaining a Drupal Site
LA Drupal Camp 2012- Maintaining a Drupal SiteLA Drupal Camp 2012- Maintaining a Drupal Site
LA Drupal Camp 2012- Maintaining a Drupal Site
 
Wp Presentation
Wp PresentationWp Presentation
Wp Presentation
 
Rubyspec y el largo camino hacia Ruby 1.9
Rubyspec y el largo camino hacia Ruby 1.9Rubyspec y el largo camino hacia Ruby 1.9
Rubyspec y el largo camino hacia Ruby 1.9
 
GTU MCA PHP Interview Questions And Answers for freshers
GTU MCA PHP  Interview Questions And Answers for freshersGTU MCA PHP  Interview Questions And Answers for freshers
GTU MCA PHP Interview Questions And Answers for freshers
 
Implementation Assistance
Implementation AssistanceImplementation Assistance
Implementation Assistance
 
Secure PHP environment
Secure PHP environmentSecure PHP environment
Secure PHP environment
 
Code quality tools for dev
Code quality tools for devCode quality tools for dev
Code quality tools for dev
 
SPFS - A filesystem for Spectrum Protect
SPFS - A filesystem for Spectrum ProtectSPFS - A filesystem for Spectrum Protect
SPFS - A filesystem for Spectrum Protect
 
SPFS - A filesystem for Spectrum Protect
SPFS - A filesystem for Spectrum ProtectSPFS - A filesystem for Spectrum Protect
SPFS - A filesystem for Spectrum Protect
 
PEAR2 & Pyrus - The look ahead
PEAR2 & Pyrus - The look aheadPEAR2 & Pyrus - The look ahead
PEAR2 & Pyrus - The look ahead
 
Howtobuildyourownframework
HowtobuildyourownframeworkHowtobuildyourownframework
Howtobuildyourownframework
 
TYPO3 Performance (T3DD18)
TYPO3 Performance (T3DD18)TYPO3 Performance (T3DD18)
TYPO3 Performance (T3DD18)
 
2018 - CertiFUNcation - Marcus Schwemer: TYPO3 Performance
2018 - CertiFUNcation - Marcus Schwemer: TYPO3 Performance2018 - CertiFUNcation - Marcus Schwemer: TYPO3 Performance
2018 - CertiFUNcation - Marcus Schwemer: TYPO3 Performance
 

Plus de Odoo

Plus de Odoo (20)

Timesheet Workshop: The Timesheet App People Love!
Timesheet Workshop: The Timesheet App People Love!Timesheet Workshop: The Timesheet App People Love!
Timesheet Workshop: The Timesheet App People Love!
 
Odoo 3D Product View with Google Model-Viewer
Odoo 3D Product View with Google Model-ViewerOdoo 3D Product View with Google Model-Viewer
Odoo 3D Product View with Google Model-Viewer
 
Keynote - Vision & Strategy
Keynote - Vision & StrategyKeynote - Vision & Strategy
Keynote - Vision & Strategy
 
Opening Keynote - Unveilling Odoo 14
Opening Keynote - Unveilling Odoo 14Opening Keynote - Unveilling Odoo 14
Opening Keynote - Unveilling Odoo 14
 
Extending Odoo with a Comprehensive Budgeting and Forecasting Capability
Extending Odoo with a Comprehensive Budgeting and Forecasting CapabilityExtending Odoo with a Comprehensive Budgeting and Forecasting Capability
Extending Odoo with a Comprehensive Budgeting and Forecasting Capability
 
Managing Multi-channel Selling with Odoo
Managing Multi-channel Selling with OdooManaging Multi-channel Selling with Odoo
Managing Multi-channel Selling with Odoo
 
Product Configurator: Advanced Use Case
Product Configurator: Advanced Use CaseProduct Configurator: Advanced Use Case
Product Configurator: Advanced Use Case
 
Accounting Automation: How Much Money We Saved and How?
Accounting Automation: How Much Money We Saved and How?Accounting Automation: How Much Money We Saved and How?
Accounting Automation: How Much Money We Saved and How?
 
Rock Your Logistics with Advanced Operations
Rock Your Logistics with Advanced OperationsRock Your Logistics with Advanced Operations
Rock Your Logistics with Advanced Operations
 
Transition from a cost to a flow-centric organization
Transition from a cost to a flow-centric organizationTransition from a cost to a flow-centric organization
Transition from a cost to a flow-centric organization
 
Synchronization: The Supply Chain Response to Overcome the Crisis
Synchronization: The Supply Chain Response to Overcome the CrisisSynchronization: The Supply Chain Response to Overcome the Crisis
Synchronization: The Supply Chain Response to Overcome the Crisis
 
Running a University with Odoo
Running a University with OdooRunning a University with Odoo
Running a University with Odoo
 
Down Payments on Purchase Orders in Odoo
Down Payments on Purchase Orders in OdooDown Payments on Purchase Orders in Odoo
Down Payments on Purchase Orders in Odoo
 
Odoo Implementation in Phases - Success Story of a Retail Chain 3Sach food
Odoo Implementation in Phases - Success Story of a Retail Chain 3Sach foodOdoo Implementation in Phases - Success Story of a Retail Chain 3Sach food
Odoo Implementation in Phases - Success Story of a Retail Chain 3Sach food
 
Migration from Salesforce to Odoo
Migration from Salesforce to OdooMigration from Salesforce to Odoo
Migration from Salesforce to Odoo
 
Preventing User Mistakes by Using Machine Learning
Preventing User Mistakes by Using Machine LearningPreventing User Mistakes by Using Machine Learning
Preventing User Mistakes by Using Machine Learning
 
Becoming an Odoo Expert: How to Prepare for the Certification
Becoming an Odoo Expert: How to Prepare for the Certification Becoming an Odoo Expert: How to Prepare for the Certification
Becoming an Odoo Expert: How to Prepare for the Certification
 
Instant Printing of any Odoo Report or Shipping Label
Instant Printing of any Odoo Report or Shipping LabelInstant Printing of any Odoo Report or Shipping Label
Instant Printing of any Odoo Report or Shipping Label
 
How Odoo helped an Organization Grow 3 Fold
How Odoo helped an Organization Grow 3 FoldHow Odoo helped an Organization Grow 3 Fold
How Odoo helped an Organization Grow 3 Fold
 
From Shopify to Odoo
From Shopify to OdooFrom Shopify to Odoo
From Shopify to Odoo
 

Dernier

The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai KuwaitThe Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
daisycvs
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
daisycvs
 
Structuring and Writing DRL Mckinsey (1).pdf
Structuring and Writing DRL Mckinsey (1).pdfStructuring and Writing DRL Mckinsey (1).pdf
Structuring and Writing DRL Mckinsey (1).pdf
laloo_007
 
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan CytotecJual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
ZurliaSoop
 

Dernier (20)

Cannabis Legalization World Map: 2024 Updated
Cannabis Legalization World Map: 2024 UpdatedCannabis Legalization World Map: 2024 Updated
Cannabis Legalization World Map: 2024 Updated
 
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai KuwaitThe Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
 
Paradip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Paradip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDINGParadip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Paradip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
 
Uneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration PresentationUneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration Presentation
 
Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1
 
Phases of Negotiation .pptx
 Phases of Negotiation .pptx Phases of Negotiation .pptx
Phases of Negotiation .pptx
 
Buy Verified TransferWise Accounts From Seosmmearth
Buy Verified TransferWise Accounts From SeosmmearthBuy Verified TransferWise Accounts From Seosmmearth
Buy Verified TransferWise Accounts From Seosmmearth
 
Falcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business PotentialFalcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business Potential
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
 
New 2024 Cannabis Edibles Investor Pitch Deck Template
New 2024 Cannabis Edibles Investor Pitch Deck TemplateNew 2024 Cannabis Edibles Investor Pitch Deck Template
New 2024 Cannabis Edibles Investor Pitch Deck Template
 
Cracking the 'Career Pathing' Slideshare
Cracking the 'Career Pathing' SlideshareCracking the 'Career Pathing' Slideshare
Cracking the 'Career Pathing' Slideshare
 
Falcon Invoice Discounting: Tailored Financial Wings
Falcon Invoice Discounting: Tailored Financial WingsFalcon Invoice Discounting: Tailored Financial Wings
Falcon Invoice Discounting: Tailored Financial Wings
 
Lucknow Housewife Escorts by Sexy Bhabhi Service 8250092165
Lucknow Housewife Escorts  by Sexy Bhabhi Service 8250092165Lucknow Housewife Escorts  by Sexy Bhabhi Service 8250092165
Lucknow Housewife Escorts by Sexy Bhabhi Service 8250092165
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
 
PHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation FinalPHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation Final
 
Structuring and Writing DRL Mckinsey (1).pdf
Structuring and Writing DRL Mckinsey (1).pdfStructuring and Writing DRL Mckinsey (1).pdf
Structuring and Writing DRL Mckinsey (1).pdf
 
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan CytotecJual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
 
HomeRoots Pitch Deck | Investor Insights | April 2024
HomeRoots Pitch Deck | Investor Insights | April 2024HomeRoots Pitch Deck | Investor Insights | April 2024
HomeRoots Pitch Deck | Investor Insights | April 2024
 
Power point presentation on enterprise performance management
Power point presentation on enterprise performance managementPower point presentation on enterprise performance management
Power point presentation on enterprise performance management
 
Pre Engineered Building Manufacturers Hyderabad.pptx
Pre Engineered  Building Manufacturers Hyderabad.pptxPre Engineered  Building Manufacturers Hyderabad.pptx
Pre Engineered Building Manufacturers Hyderabad.pptx
 

OpenERP - Security in OpenERP

  • 1. Security in OpenERP Harshad Modi & Raphael Collet OpenERP 6.1. Offer compléter Nom du fichier – à
  • 2. Overview - sales tool for partners who can propose to their customers. 2-4 slides/big feature. OpenERP 6.1. Offer compléter Nom du fichier – à
  • 3. Authentication Process - sales tool for partners who can propose to their customers. 2-4 slides/big feature. • OpenERP Authentication Handler Plain password (default) o o Encrypted password (base_crypt) • Third Party Authentication Handler (LDAP, OpenID) OpenERP 6.1. Offer compléter Nom du fichier – à
  • 4. Connect with OpenId OpenERP 6.1. Offer compléter Nom du fichier – à
  • 5. Connect with LDAP OpenERP 6.1. Offer compléter Nom du fichier – à
  • 6. Data Level Security OpenERP 6.1. Offer compléter Nom du fichier – à
  • 7. Data Level Security OpenERP 6.1. Offer compléter Nom du fichier – à
  • 8. Example: Customer Group !record {model: res.groups, id: base.group_sale_customer}: name: Customer category_id: base.module_category_sales_management Example: Saleman Group !record {model: res.groups, id: base.group_sale_salesman}: name: Sales Person category_id: base.module_category_sales_management implied_ids: - base.group_sale_customer Example: User !record {model: res.users, id: user_john}: name: Mr.John groups_id: base.group_sale_saleman OpenERP 6.1. Offer compléter Nom du fichier – à
  • 9. Record Rules • Rule Definition o Condition for restrict access to subset of records o On Access Rights (Create, Read, Write, Delete) • Global or Group Specific OpenERP 6.1. Offer compléter Nom du fichier – à
  • 10. Example: !record {model: ir.rule, id:sale_order_personal_rule}: name: Personal Orders model_id: model_sale_order domain_force: ['|',('user_id','=',user.id), ('user_id','=',False)] groups: - base.group_sale_saleman OpenERP 6.1. Offer compléter Nom du fichier – à
  • 11. UI Level Security Restrict Menu to groups of users !record {model: ir.ui.menu, id:menu_sale_order}: name: Configuration parent: base.menu_sales sequence: 4 groups: - base.base.group_sale_manager Restrict Workflow Transition to groups of users !record {model:workflow.transition, id:trans_draft_router}: act_from: act_draft act_to: act_router signal: order_confirm group: - base.group_sale_customer - base.group_sale_saleman - base.base.group_sale_manager Restrict/Hide Fields in Forms to groups of users <field name="product_uom" string="UoM" groups="product.group_uom"/> OpenERP 6.1. Offer compléter Nom du fichier – à
  • 12. Portal and Share • Portal Define Portal group   Configured Record Rules and Access Rights • Share Record Access  Create on-the-fly user from email address  Create on-the-fly group with specific record rules OpenERP 6.1. Offer compléter Nom du fichier – à