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

1.4.22: User needs "Contact Edit" permission to create new contacts (in addition to create permissions) #1255

Closed
ehuelsmann opened this issue Jan 10, 2016 · 1 comment
Milestone

Comments

@ehuelsmann
Copy link
Member

The subject says it all. The error is the following:

PL/pgSQL function company__save(integer,text,integer,text,text,integer,text,integer,text,text) line 16 at SQL statement at LedgerSMB.pm line 577.
2016/01/10 14:40:34 - ERROR - LedgerSMB::dberror LedgerSMB.pm (761) -- Logging SQL State 42501, error 7, string ERROR: permission denied for relation entity
CONTEXT: SQL statement "UPDATE entity
SET name = in_legal_name,
entity_class = in_entity_class,
control_code = t_control_code,
country_id = in_country_id
WHERE id = in_entity_id"

@ehuelsmann ehuelsmann added this to the 1.4.24 milestone Jan 10, 2016
@einhverfr einhverfr modified the milestones: 1.4.24, 1.4 Feb 14, 2016
@einhverfr
Copy link
Member

Given our upsert logic, seems like a good idea to make create a role which also has update permission. easy enough.

@einhverfr einhverfr modified the milestones: 1.4.32, 1.4 Jul 31, 2016
einhverfr added a commit to einhverfr/LedgerSMB that referenced this issue Jul 31, 2016
einhverfr added a commit to einhverfr/LedgerSMB that referenced this issue Jul 31, 2016
einhverfr added a commit that referenced this issue Jul 31, 2016
einhverfr added a commit that referenced this issue Jul 31, 2016
ylavoie pushed a commit to ylavoie/LedgerSMB that referenced this issue Jul 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants