- Restrict publishing with unresolved PII findings: block or review publishing while a project has unresolved findings of personal data.
- Require approval for external collaborators to publish: review what people invited from outside your workspace publish.
- Restrict publishing externally: block or review publishing that makes an app public.
- Require approval to publish apps that use connectors: review apps that connect to other services before they go live.
- Block publishing from unverified domains: allow publishing only from email addresses on your verified domains.
A policy only adds a restriction. It never lets anyone publish who could not publish before, and it does not change anyone’s project or workspace role. The other settings in the Publishing section of Privacy & security, such as Block publishing with critical issues, keep working alongside the policies.
Enable a policy
Each policy has its own row in Publishing policies, with a switch. Every row except Block publishing from unverified domains also has a Configure button.1
Open Publishing policies
Open Publishing policies in Privacy & security.
2
Configure the policy
Select Configure to open the policy’s dialog. Enabling the switch on the row opens the same dialog, so nothing is saved until you select Turn on there. Most policies have one decision to make, described under each policy below.
3
Read the summary
In Require approval mode, the summary in the dialog shows what changes for the people who publish. For the connectors and external collaborators policies, the summary also counts how often the policy would have required approval in the last 30 days. The count shows how much review work you are about to create.
4
Enable the policy
Select Turn on. The row shows the policy as enabled.
Restrict publishing with unresolved PII findings
The policy applies when a project has unresolved findings from Sensitive data scanning. Sensitive data scanning is Lovable’s scan for personally identifiable information (PII), such as names, emails, and identity numbers, in a project’s data and chat. A finding is one piece of personal data the scan recorded. The policy needs the Sensitive data scanning setting enabled and saved first. Until then you cannot enable the policy. The policy applies to everyone, including admins and owners. Choose what happens when someone wants to publish an app with unresolved findings:- Block, the default: Lovable refuses to publish, and the person publishing sees the findings that block it. They can publish after the findings are resolved.
- Require approval: publishing waits for an admin or owner. Choose this when an approver should be able to approve an app after checking the findings, for example test data that scanning flagged.
Require approval for external collaborators to publish
The policy applies when the person publishing is an external collaborator, a person outside your workspace who was invited to a project. Contractors and agency staff keep building and publishing, and an admin or owner approves each app before it goes live. Admins and owners are exempt. The policy has one mode, Require approval. An approval has no time limit. It ends when the person’s role in your workspace changes or when who can view the app changes. If your workspace does not allow external collaborators on projects, the policy never applies. See External project collaborators.Restrict publishing externally
The policy applies when an app is published publicly, meaning anyone with the link can open it. It covers updates to an app that is already public. It does not apply to publishing to your workspace or to selected people. Choose who publishes public apps without a request, under Who publishes without approval: Owners and admins, or Owners only. Only workspace owners can choose Owners only. In Block mode the same choice is labeled Who can publish externally, and it sets who can publish publicly at all. Choose what happens when anyone else wants to publish a public app:- Block: no one else publishes publicly. Choose this when the rule has no exceptions, for example while a security review runs.
- Require approval, the default: publishing waits until an admin or owner approves it. Choose this when most apps should go public after a check. You get a record of who approved each public app.
Require approval to publish apps that use connectors
The policy applies when the project uses one or more connectors, for example a Snowflake, HubSpot, or Stripe connection. An app with a connector moves data from a system your company controls, so an admin or owner reviews the app before it goes live. Admins and owners are exempt. The policy has one mode, Require approval. Choose which connectors count under Connector types:- All connector types: every connector counts.
- App + chat connectors: connectors that use one shared workspace account.
- App user connectors: connectors where each app user signs in with their own account.
Block publishing from unverified domains
The policy applies when the email domain of the person publishing is not one of your workspace’s verified domains, the domains your company has proven it owns. Anyone whose email is on another domain cannot publish while the policy is enabled. The policy applies to everyone, including admins and owners. It only blocks and cannot require approval instead. Before you enable the policy, verify your company’s domain under Workspace settings → Access → Identity. Without a verified domain, the policy blocks everyone.How approvals work
A policy applies to every way an app can be published, including from the project chat. When a policy requires approval for publishing from the project chat, Lovable replies that approvers were notified and that it publishes the app when one of them approves. Approvers approve or deny requests in the Action center. An admin or owner cannot approve their own request, so another admin or owner approves or denies it. The person who publishes follows the request in the publish dialog, described in Request approval to publish. An approval covers the app, not a single version. After an admin or owner approves a request, Lovable publishes the app. The requester then publishes later updates of the same app without a new request. The approval ends when something the policy checks changes. For the Restrict publishing externally policy, it also ends when the time set under Approval lasts runs out. The requester then requests approval again. A policy checks publishing only. People keep editing and previewing while a request waits. More than one policy can apply to the same app. The requester sends one request and the approver sees one item for all of them. Lovable publishes the app when the item is approved. A waiting request is closed without a decision when something the policy checks changes:- the project’s connectors,
- who can view the app,
- the number of unresolved PII findings,
- the requester’s role in the workspace, or
- the project moving to another workspace.