Security
Security for STYD with Odoo comes from several layers: STYD is read-only, it reads only a fixed list of Odoo models, Odoo or the Bridge module limits what a connection can see, and STYD narrows it again for each member.
STYD is read-only
STYD answers Odoo questions by reading data. The Bridge accepts four operations: list the models, list their fields, read records and compute grouped totals. STYD never creates, changes or deletes an Odoo record, and a request to do so is declined. STYD explains and recommends; it does not execute changes.
What STYD reads and how
- Only a fixed list of Odoo models is read: contacts, products, sales, invoices and payments, purchases and stock on every connection, and CRM and the areas listed below on API-key connections only. Users, access rules, settings, attachments and messages are never served, and HR data is served only on API-key connections, from a fixed list of fields. See what STYD reads today.
- HR is available on connections made with an Odoo API key. STYD reads only a fixed list of employee, time off, attendance and timesheet fields, and never reads pay, private employee fields or GPS positions. The STYD Bridge comes later.
- If your company has a works council or staff representatives, you may need to inform them before your team uses HR questions. Check the rules in your country.
- Point of Sale data is served only on connections made with an Odoo API key, from a fixed list of fields. STYD never reads card data. The STYD Bridge comes later.
- Manufacturing data is served only on connections made with an Odoo API key, from a fixed list of fields. STYD never reads who did the work on a work order, notes or worksheets. A work centre with one operator can read as that person: its figures are shown with no name. The STYD Bridge comes later.
- Project data is served only on connections made with an Odoo API key, from a fixed list of fields. STYD never reads task descriptions, notes, the text of project updates, comments, ratings or attachments, and never compares people on project work. The STYD Bridge comes later.
- Fields that look like a password, token or secret are refused.
- Each request is small: up to 200 records at a time (80 by default), up to 25 filters, 2 grouping fields and 5 totals.
- The Odoo address must be public HTTPS. Local and private network addresses are refused. The connection token is stored encrypted and sent only to your Odoo.
Whose access is used
Odoo itself runs every read as the key's user, so that user's access rights and record rules apply, and they are the ceiling: nobody sees more. With a key from an Odoo administrator, a member linked to their own Odoo user sees the lower of their own rights and the key's. See What each member can see in Odoo. Costs, margins and purchase prices are shown to the workspace owner only on this connection. Create the key for a dedicated Odoo user with Access Rights and only the business rights you want to share.
The module reads Odoo with its own access, limited to the companies of the user who generated the token. It does not apply each Odoo user's access rights or record rules. STYD adds the per-member limits described below. Generate the token from a user whose companies are only the ones you want STYD to reach.
STYD reads with the permissions of the database user you give it, and does not know which Odoo user is asking. Use a read-only database user.
What STYD adds for each member (Bridge)
- A member must be mapped to an Odoo user. A member who is not mapped gets no Odoo data. See User mapping.
- The mapped user's Odoo groups decide which areas the member can ask about: Accounting, Sales, Purchase and Inventory. Contacts and products are open to every mapped member. The other areas listed above need a connection made with an Odoo API key.
- The mapped user's companies are added as a filter to every read of a model that has a company. If the user has no company, the question is refused. See Company access.
- These limits come from the last sync, so a change in Odoo applies after you refresh the connection.
Table hiding is for databases
STYD table hiding applies to the tables of a SQL connection. A Bridge or API-key connection reads Odoo models, not tables, so table hiding does not apply to it: rights, companies and the API key's user are the controls. See Odoo rights vs STYD table hiding.
No absolute guarantees
No setup is perfectly secure. Keep access scoped and read-only, and check sensitive answers. The Security section covers STYD's general security model in more depth.
Need help? Contact support