Sharing & Security
Who can see and edit what — org-wide defaults, positions, sharing rules, and field-level security.
Sharing & Security
Sharing answers the question: "Which records can this user see and edit?" Four layers stack together to give the answer:
- Object permissions — may this user touch this object at all? (See Profiles.)
- Org-Wide Defaults (OWD) — the record-level baseline ("opportunities are private").
- Sharing Rules — the openings ("the EU team can edit EU accounts").
- Manual shares — record-level "you're working this one with me".
Plus Field-Level Security for masking sensitive fields inside a record the user can see.
The first layer is a gate, not a filter. If a profile does not grant the object, no OWD, sharing rule or View All setting can put those records back — the request is refused before sharing is ever consulted.
Layer 1 — Org-Wide Defaults
OWD is the most restrictive setting for each object. Everything else widens it.
| Object | OWD | Why |
|---|---|---|
| Lead | Private | Reps work their own leads |
| Account | Private | Account ownership matters |
| Contact | Controlled by Parent (Account) | A contact belongs to its account, and follows the account's sharing — see Controlled by Parent, in practice below |
| Opportunity | Private | Sensitive deal data |
| Opportunity Line Item | Controlled by Parent (Opportunity) | A product line is part of the deal |
| Quote | Controlled by Parent (Account) | A quote is priced for an account and follows the account's sharing — see Controlled by Parent, in practice below |
| Quote Line Item | Controlled by Parent (Quote) | A line is part of the quote |
| Contract | Controlled by Parent (Account) | A contract is account data and follows the account's sharing — see Controlled by Parent, in practice below |
| Order | Controlled by Parent (Account) | An order is what the account bought, and follows the account's sharing |
| Order Line | Controlled by Parent (Order) | A line is part of the order |
| Payment Plan | Controlled by Parent (Contract) | A step of the contract's collection plan; it follows the contract, so the account |
| Invoice | Controlled by Parent (Contract) | Finance's record of an invoice issued against the contract; it follows the contract |
| Payment | Controlled by Parent (Contract) | Finance's record of money received on the contract; it follows the contract |
| Project | Private | The owner, the people staffed on it and its project manager reach it through the two rules below; finance and delivery leadership read every project |
| Project Member | Controlled by Parent (Project) | A staffing row is part of the project |
| Project Task | Controlled by Parent (Project) | A task is part of the project's plan |
| Project Budget | Controlled by Parent (Project) | A budget version is part of the project's finances |
| Budget Line | Controlled by Parent (Project Budget) | A planned cost is part of its budget version |
| Rate Card | Public Read-Only | Everyone staffs and bills at the same grades; the cost rate is hidden from team members by field security |
| Timesheet | Private | A person's hours are their own; the approver reaches the timesheet through a rule |
| Time Entry | Controlled by Parent (Timesheet) | A day's hours are part of the timesheet |
| Expense | Private | A person's spending is their own; the approver reaches the expense through a rule |
| Expense Report | Private | Like the expenses on it; the approver reaches the report through a rule, and finance reads every one |
| Travel Request | Private | A person's trip is their own; the approver reaches the request through a rule, finance reads every request |
| Itinerary Line | Controlled by Parent (Travel Request) | A leg is part of its trip: whoever reads the request reads its legs |
| Expense Standard | Public Read-Only | The company's standards for spending are for everyone to read; finance keeps them |
| Case | Private | An agent's queue is their own; escalations are shared |
| Task | Private | Personal activity items |
| Event | Private | Personal activity items, like tasks |
| Event Attendee | Controlled by Parent (Event) | An attendee belongs to the meeting they were in, and follows that meeting's sharing — see Controlled by Parent, in practice below |
| Forecast | Private | A snapshot belongs to its owner; managers hold View All, and edit every snapshot through a sharing rule |
| Product | Public Read-Only | Everyone sees the catalog |
| Price Book | Public Read-Only | Everyone who quotes sees the price lists; the owner edits |
| Price Book Entry | Controlled by Parent (Price Book) | A price is part of its book |
| Campaign | Public Read-Only | Marketing creates, sales sees |
| Campaign Member | Controlled by Parent (Campaign) | Membership is an attribute of the campaign, and follows its sharing — see Controlled by Parent, in practice below |
| Knowledge Article | Public Read-Only | The knowledge base is for everyone internally; agents author it |
| Article Feedback | Controlled by Parent (Knowledge Article) | A reader's helpful / not-helpful verdict is an attribute of the article, and follows its sharing — see Controlled by Parent, in practice below |
Options for OWD: Private / Public Read-Only / Public Read/Write / Controlled by Parent.
Controlled by Parent, in practice
For the twenty parent-derived objects above, there is nothing to configure per user: access is computed.
- Read — you see the rows whose parent you can see, and "can see" means every route that would let you open the parent directly: you own it, a sharing rule granted it, or someone shared it with you by hand. Measured against the shipped stack (platform 17.0.0-rc.4): a rep who can read exactly one account reads that account's contacts, quotes and contracts and no others, and reads the line items of exactly those quotes — the chain quote line item → quote → account is resolved level by level (platform 17.4.0, objectstack-ai/objectstack#11082). The account reaching that rep only through a territory rule is the point — a parent held by a share counts as a parent you can see.
- Write — adding, changing or removing a row requires edit access to the parent, resolved the same way as reads. A row under a parent you cannot edit is refused, naming the parent that stopped it. Payment Plan, Invoice and Payment are the exception: they ask only read access to the contract, so a rep keeps the plan of a contract they read and finance enters invoices and payments on contracts it does not edit, each as far as their own permission set allows (#2462).
This changed in platform 17.0.0-rc.4. Through 17.0.0-rc.3 the computed answer was org-wide rather than parent-scoped: the derivation resolved accessible parents from the parent object's row-level security policies alone, and HotCRM authors almost none, so a Controlled by Parent object was readable — and writable — by every user whose profile granted the object at all. If you are running an earlier release, that is the behaviour you have, and quote and opportunity line pricing is visible org-wide. The repo test
test/parent-derived-reach.test.tspins the current reach in both directions (#549, #694; upstream fix objectstack-ai/objectstack#5386).
Because access is derived, ownership of the child row is irrelevant — a quote line the quote-generation flow created is as visible to the quote's owner as one they typed themselves.
Layer 2 — Positions
A position is a flat group used to distribute access. HotCRM ships eighteen:
crm_executive
crm_sales_director crm_sales_manager crm_sales_rep
crm_service_director crm_service_manager crm_service_agent
crm_marketing_director crm_marketing_manager crm_marketing_user
crm_ar_accountant
crm_project_director crm_pmo crm_project_manager
crm_project_member crm_finance_controller
crm_na_sales_team crm_eu_sales_team (territory groupings)Positions are flat by design — there is no hierarchy and nothing rolls up. A sales director does not inherit a sales manager's access; each rung that needs a record is named by its own sharing rule. That is why several rules below come in pairs.
Assign positions in Setup → Users; a user may hold more than one.
Layer 3 — Sharing Rules
Sharing rules open up record access beyond the OWD baseline.
Two flavours
| Type | What it shares | Example |
|---|---|---|
| Criteria-based | Every record matching a filter | "Accounts billing to DE/FR/…" → shared with the EU team |
| Owner-based | Every record owned by a group | "Records owned by SDRs" → shared with the AE group |
Criteria-based rules are the enforced flavour: matching records materialise real share grants.
Built-in sharing rules
| Rule | Object | Grants | To |
|---|---|---|---|
| Account Team Sharing | Account | Edit | crm_sales_manager — active customer accounts |
| North America Territory | Account | Edit | crm_na_sales_team — accounts whose Territory is na |
| Europe Territory | Account | Edit | crm_eu_sales_team — accounts whose Territory is emea |
| Forecasts — Sales Manager Edit | Forecast | Edit | crm_sales_manager — every forecast (it can edit them, never delete one) |
| Opportunity Sales Team Sharing | Opportunity | Read | crm_sales_director — open deals ≥ $100,000 |
| Large Open Deals — Executive | Opportunity | Read | crm_executive — the same deals, one rung up |
| Escalated Cases Sharing | Case | Edit | crm_service_manager — open critical cases |
| Escalated Cases — Service Director | Case | Read | crm_service_director — the same cases, one rung up |
| Escalated Cases — Previous Owner | Case | Read | the user in the case's escalated_from field — the agent an escalation took it from, until it is Closed |
| Live Campaigns — Marketing Manager | Campaign | Edit | crm_marketing_manager — planning / in-progress campaigns |
| Live Campaigns — Marketing Director | Campaign | Edit | crm_marketing_director — the same campaigns |
| Projects — Team | Project | Read | the users in the project's team_members field — everyone staffed on it, the project manager included, who also has the next rule |
| Projects — Project Manager | Project | Edit | the user in the project's project_manager field |
| Projects — Finance | Project | Edit | crm_finance_controller, crm_project_director, crm_pmo — every project (one rule per position; it can edit them, never delete one) |
| Timesheets — Approver | Timesheet | Edit | the user in the timesheet's approver field — the project manager when it was created |
| Expenses — Approver | Expense | Edit | the user in the expense's approver field — copied from its expense report when the report is submitted |
| Expense Reports — Approver | Expense Report | Edit | the user in the report's approver field — named when it is submitted: the spender's manager, or the project's manager for a report on a project |
| Travel Requests — Approver | Travel Request | Edit | the user in the request's approver field — named when it is submitted: the traveler's manager, or the project's Project Manager for a request on a project |
Create your own in Setup → Sharing Rules.
Criteria filter on plain fields, never on part of an Address. The two territory rules match on the account's Billing Country — a read-only two-letter code derived from the country you type into Billing Address — and not on the address itself. A criteria rule has to run as a database query, and a query cannot reach inside a structured Address or Location value. A rule written against
Billing Address → Countryis therefore rejected outright rather than quietly widened to "every account": it is never installed, and the position it names receives nothing. Nothing in the UI marks such a rule as broken, so when a team reports missing records, check that every field the rule names is a plain field on the object.
Cases and leads waiting in a queue
A case or lead that arrives with no owner waits in a queue: Support Intake for cases, Lead Intake for leads (see Case routing). No sharing rule is involved. The platform lets every member of the queue read and edit a record while it waits there. The members of Support Intake are everyone holding crm_service_agent, and the members of Lead Intake are everyone holding crm_sales_rep, plus anyone an administrator adds under Setup → Access Control → Queue Members.
- A case arrives with no owner, for example a web-to-case submission while nobody holds Service Agent. It waits in Support Intake, so every service agent can see it in the Unassigned — triage tab.
- An agent opens it and clicks Claim. That agent becomes the Owner, and nothing else on the case changes.
- The case now has an owner, so it no longer waits in the queue. The other agents stop seeing it, and the claimant holds it the ordinary way, as its owner.
A claim needs no transfer permission. Service Agent may reassign tasks only (see Ownership and transfers below). Claim is the one Owner write the platform admits without that permission: it writes the caller's own name, onto a record that has no owner and sits in a queue the caller belongs to. Claiming for somebody else, or claiming a record somebody already owns, is refused. If two members claim the same record at once, one wins and the other is refused.
A rule widens one object, not the records underneath it
Sharing rules are authored per object. Widening Account widens accounts — the records hanging off a shared account keep their own baseline, except the ones derived from it (Contact, Quote, Contract, Order, and through the contract its Payment Plans, Invoices and Payments):
| Related list on a shared account | What the recipient sees |
|---|---|
| Contacts | This account's contacts — Contact is Controlled by Parent, and the shared account counts as a parent they can see |
| Opportunities | Their own deals only, plus open deals ≥ $100,000 if they hold crm_sales_director or crm_executive, whose Sales Leadership profile also reads every deal not flagged Private |
| Quotes | This account's quotes — Quote follows the account, and so do the quotes' line items |
| Contracts | This account's contracts — Contract follows the account; whether they can edit one is the object-level right on their profile (a Sales Rep cannot) |
| Orders | This account's orders — Order follows the account, and so do the orders' lines |
| Payment Plans | This account's plan steps — Payment Plan follows the contract, which follows the account |
| Invoices | This account's invoices — Invoice follows the contract, which follows the account |
| Payments | This account's payments — Payment follows the contract, which follows the account |
| Cases | Their own only, plus open critical cases if they hold crm_service_manager or crm_service_director |
| Tasks | Their own only |
| Events | Their own only |
| Projects | The projects they own, are staffed on or manage, plus every project if they hold crm_finance_controller, crm_project_director or crm_pmo — a project does not follow its account |
| Expense Reports | The reports they submitted, plus the ones whose approver field names them — a report does not follow its account |
So a territory rule hands over the account record with its contacts, quotes and contracts; the deal, case, task and meeting history underneath stays with its owners, and those related lists can look empty or partial on an account the user can otherwise read in full.
Making a child object follow the account is a deliberate widening, not a config detail. A sharing rule on the child object with criteria matching the account rules opens that object for every holder of it, not only for the territory recipients. Setting the child's OWD to Controlled by Parent is the narrower instrument: it grants the child exactly to whoever can reach the parent (see Controlled by Parent, in practice above). That is what HotCRM ships for Quote and Contract (#549): a rep who receives an account through a territory rule sees, and — holding edit on the account — may edit, its quotes; contracts they read but never edit. Deals, cases, tasks and events stay own-only on purpose — a task is a personal work item, and the pipeline question is deferred until a territory model exists.
Layer 4 — Manual shares
A manual share grants one user or group Read or Read/Write on a single record, on top of everything above. Shares live per record. Since platform 17.0.0-rc.4 a manual share also carries the parent-derived children of that record: sharing an account hands over its contacts, because the derivation resolves the parent through share grants like any other route (see Controlled by Parent, in practice).
HotCRM ships no account-team object — there is no team roster on the account and no Team tab. The rule named Account Team Sharing in the table above is an ordinary criteria rule: it gives every crm_sales_manager edit on active customer accounts, not a per-record pod. An org that sells in pods models the pod as a position with its own sharing rule, or as manual shares on the account.
How the layers combine
A user sees a record when all of the following hold: their profile grants read on the object, and any of these is true:
- They own the record.
- Their profile grants View All on the object.
- The OWD is Public Read-Only or wider.
- The object is Controlled by Parent and its parent is visible to them by any of these same routes (see Controlled by Parent, in practice).
- A sharing rule matches the record and one of their positions.
- The record was shared manually with them.
If none apply, the record is simply gone from lists, search and reports — not an error message.
Dashboards obey the same layers: every tile adds up only the records its viewer may read. Leaving a dashboard out of someone's sidebar is not one of these layers. HotCRM hides Executive Overview from sales reps and the service agent and service manager positions to keep their menu focused, but a rep who opens its link still sees it — over the records they may read, and no others. To change what someone sees in a dashboard, change their profile or the sharing above; see Dashboards.
Ownership and transfers
Every record has exactly one Owner. It is the field on the form, the one the "My …" views filter on, and the one every rule above means by "the record's owner" — one column, one answer. Reassigning Owner really does hand the record over: the previous owner loses their owner-based access and the new one gains it, immediately and everywhere.
Because it moves access, changing Owner is a permission of its own, separate from ordinary edit rights:
| Who | May reassign |
|---|---|
| System Administrator | every object |
| Sales Manager | the sales book — leads, accounts, contacts, opportunities, quotes, tasks, meetings, forecasts |
| Service Agent | tasks only (so an escalation can hand work to the account owner) |
| Sales Rep, Marketing User | nothing — records are assigned to them |
Four everyday actions are not transfers and need no such permission:
- Creating a record. New records are stamped to their creator automatically — you never pick yourself.
- Saving a form without touching Owner, even though the form submits the field.
- Automation acting on your behalf — the assignment rules that route an incoming case or lead, the nightly sweeps that book renewal and follow-up tasks.
- Claiming a record from a queue. Clicking Claim on a case or lead that waits in a queue you belong to makes you its owner (see Cases and leads waiting in a queue above). Owner does change, but the claim names only you, takes the record away from no one, and works only while the record has no owner, so it is not a reassignment and needs no reassignment right.
A user without the permission who tries to reassign gets a clear refusal rather than a silent no-op. If you need to move a book of business, ask an administrator or your sales manager.
Upgrading from an earlier release? Owner used to be an ordinary field that anyone with edit rights could change — and changing it moved the record in every list and report while moving no access at all. The two are now the same field. Records whose displayed Owner had drifted away from their real access owner need a one-time pass to bring them back into line; see the release notes for the backfill.
Private opportunities
Private on an opportunity is enforced on top of everything above: a deal a user flags Private stays visible to its owner (and to administrators) only, even for profiles that otherwise hold org-wide opportunity read, such as Sales Manager, Sales Leadership, Marketing User, Finance Controller and Project Manager. Use it for board-level or acquisition-sensitive deals.
Field-Level Security (FLS)
FLS controls which fields inside a visible record a profile can see and edit — for example account health score is readable to everyone who can see the account but only the sales manager sets it, and case internal notes are hidden from sales reps entirely. The shipped masks are listed in Profiles.
FLS is enforced everywhere — list views, reports, the API and the AI Copilot. A masked field also cannot be used as a filter, sort or grouping.
Sharing for the AI Copilot
The Copilot acts on behalf of the user — it sees exactly what the user sees, no more:
- Object permissions, sharing and FLS all apply automatically.
- An admin running the Copilot will see more than a rep — by design.
There is no "AI bypass".
Tips for admins
- ✅ Check the object grant first. An empty related list or a nav item that errors is nearly always a missing object permission, not a sharing problem.
- ✅ Start restrictive — Private OWD on Lead / Account / Opportunity, then open up with sharing rules.
- ✅ Remember positions are flat. Granting the manager does not grant the director; author both.
- ✅ Audit sharing rules quarterly — they accumulate.
- ✅ Don't over-use View All — it's a sledgehammer that bypasses every sharing rule.
Tips for users
If you think you should be able to see a record and can't:
- Check who owns it.
- If you reached it from an account, check which object it is: tasks, cases and deals stay with their owner even when the account itself is shared with you. Contacts, quotes and contracts are the related lists that are never withheld — all three are Controlled by Parent, so they follow the account and arrive with it (see Controlled by Parent, in practice).
- Check whether the deal is flagged Private.
- Ask your admin whether a sharing rule should cover your position.