Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
4 Respostas
111 Visualizações

when my one user click on one my category he sees ...

403: Forbidden

The page you were looking for could not be authorized.

Error message:

You are not allowed to access 'Product ribbon' (product.ribbon) records.

This operation is allowed for the following groups:
	- Sales/Administrator
	- Role / Member

Contact your administrator to request access if necessary.

pease give me slution....

Avatar
Cancelar
Melhor resposta

Hi,


A "403: Forbidden" error in Odoo when a user tries to access a category indicates they lack the necessary permissions for "Product ribbon" records. The error message specifies the required groups: "Sales/Administrator" or "Role / Member." The primary solution is to add the user to the appropriate group based on their role. Navigate to Settings > Users & Companies > Users, select the user, edit their profile, and under the "Access Rights" tab, assign them to either the "Sales/Administrator" group by setting the Sales application access to "Administrator," or to the "Role / Member" group if applicable. Save the changes and have the user log back in.


Alternatively, if the user should not have access, you can adjust access rights, but this is an advanced and potentially risky approach. Enable developer mode, go to Settings > Technical > Security > Access Rights, search for product.ribbon access rights, and carefully modify them to restrict the user's group. Incorrectly modifying access rights can break your Odoo installation, so proceed with caution. The error typically arises from misconfigured user roles or permissions, and product ribbon access is often restricted to control product catalog and marketing efforts.


Hope it helps

Avatar
Cancelar
Autor Melhor resposta

thank you for your both replay ,  but @ayana in my shop all public access the page without sign in so how can i do it , i am begainer in odoo so can you please guide me what step can i do

please....

Hello everyone,

I’m facing an issue on my Odoo Online website (hosted at apt-computer.odoo.com).

My Shop page is publicly visible (no login required).

Everything was working fine — I had around 16 product categories before, and all of them displayed correctly.

But yesterday, after I created one new category and added products under it, my website started showing this error for public visitors:

403: Forbidden The page you were looking for could not be authorized. Error message: You are not allowed to access 'Product ribbon' (product.ribbon) records. This operation is allowed for the following groups: - Sales/Administrator - Role / Member

If I log in as admin, the page loads normally.

The issue only appears for public users (non-logged-in visitors).


Avatar
Cancelar

Hello Nilesh,
Can you please write full issue? It is helpful us to understand the real issue.

Melhor resposta

Hi,

You’re logged in as a normal Sales User rather than a Sales Administrator. Odoo restricts access to Product Ribbon records, allowing only users in the Sales/Administrator group or the Role / Member group to read or modify them. When you try to open or save a product, Odoo attempts to access the related ribbon field, but because your user doesn’t have the required permissions, the operation is blocked and the system shows the access error.

To fix this, you can either add your user to one of the allowed groups, such as Sales Administrator, or extend read access to normal users by updating the ir.model.access.csv file to grant read-only permissions for the product.ribbon model. If you are not using ribbons, another option is to hide or remove the ribbon field from the product form view to prevent Odoo from checking access.

Avatar
Cancelar
Autor

thank you for your both replay , but @the in my shop all public access the page without sign in so how can i do it , i am begainer in odoo so can you please guide me what step can i do

please....

Autor

Hello everyone,

I’m facing an issue on my Odoo Online website (hosted at apt-computer.odoo.com).
My Shop page is publicly visible (no login required).

Everything was working fine — I had around 16 product categories before, and all of them displayed correctly.
But yesterday, after I created one new category and added products under it, my website started showing this error for public visitors:

403: Forbidden
The page you were looking for could not be authorized.

Error message:
You are not allowed to access 'Product ribbon' (product.ribbon) records.

This operation is allowed for the following groups:
- Sales/Administrator
- Role / Member

If I log in as admin, the page loads normally.
The issue only appears for public users (non-logged-in visitors).

Melhor resposta

Hello Nilesh,

Please check below record in security/ir.model.access.csv file in your custom module.

id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink

base.group_user,0,0,0,0(this is only example)

Hope it helps..

Avatar
Cancelar
Autor

Hello Lakhan,

I’m facing an issue on my Odoo Online website (hosted at apt-computer.odoo.com).
My Shop page is publicly visible (no login required).

Everything was working fine — I had around 16 product categories before, and all of them displayed correctly.
But yesterday, after I created one new category and added products under it, my website started showing this error for public visitors:

403: Forbidden
The page you were looking for could not be authorized.

Error message:
You are not allowed to access 'Product ribbon' (product.ribbon) records.

This operation is allowed for the following groups:
- Sales/Administrator
- Role / Member

If I log in as admin, the page loads normally.
The issue only appears for public users (non-logged-in visitors).