Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-Administrative users cannot access the board from arbitrary model #1041

Closed
fotisp opened this issue Jan 18, 2023 · 1 comment
Closed
Labels
stale PR/Issue without recent activity, it'll be soon closed automatically.

Comments

@fotisp
Copy link

fotisp commented Jan 18, 2023

action = self.env["mail.activity"].action_activities_board()

This line is causing the following error

2023-01-18 09:56:56,471 72490 INFO existanze werkzeug: 127.0.0.1 - - [18/Jan/2023 09:56:56] "POST /web/dataset/call_kw/purchase.order/redirect_to_activities HTTP/1.1" 200 - 6 0.003 0.011
2023-01-18 09:56:56,634 72490 WARNING existanze odoo.http: You are not allowed to access 'Action Window' (ir.actions.act_window) records.

This operation is allowed for the following groups:
        - Administration/Settings

Contact your administrator to request access if necessary. 

when users that have access to a model the activities and data, it requires them to be in the Administrator group without reason.

A possible solution is using sudo() here, but I am not aware of any repercussions.

@github-actions
Copy link

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

No branches or pull requests

1 participant