Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Save/Cancel Buttons Missing

Scott Carson   ( User )

Commented 1 year ago

Hi,

Just upgrade to 3.0.10 and the following sections don't have Save or Cancel buttons:

Settings > Localisation and Settings > Company
Settings > Invoice
Settings > Default
Settings > Email Service
Settings > Scheduling
Settings > Categories
Settings > Currencies
Settings > Taxes
Settings > Offline Payments

Also, the Save button is present but just doesn't work on Settings > Estimates. I tried changing the colour and although I got a success message, the value reverted back to the default (green)

Please advise,
-Scott.

Scott Carson   ( User )

Commented 1 year ago

Follow-up: Saw there was an update to 3.0.11, so I ran it hoping this issue would go away. Nope, still no buttons. Not in Firefox or Chrome. I even inspected the code. There appears to be a form, but no submit or cancel buttons of any kind.

Ahmet Kurucan   ( User )

Commented 1 year ago

Make sure you've set the Edit permission for that role

https://prnt.sc/A6b42ehwrtn0

Thomas Tranter   ( User )

Commented 1 year ago

The roles and permission app are for the cloud version only. I am having the same issue on the self hosted version running the admin account.

Scott Carson   ( User )

Commented 1 year ago

OH, I should have mentioned: before upgrading to 3.0.11, I had full control of users, groups, roles, and permissions ... and I used it a lot. So, I not only know beyond a shadow of a doubt that my admin user has absolutely full access, but I am looking at the database schema as I type and every permission is applied to that user/role.

If this is a permissions issue, then there must be some sort of second level roles/permissions that I'm unaware of. That said, I'm 99% sure this is NOT a permission issue.

Scott Carson   ( User )

Commented 1 year ago

Ahmet's screenshot reminded me of something. I went back to the schema and in the *_permissions table:

- row 115 has "read-settings-localisation", but there is no "update-" or "delete-" row. This "may* explain why my user can't save anything in localisations.

However ...
- row 109 has "read-settings-currencies", with row 110 having "update-settings-currencies" and row 11 having "delete-settings-currencies". My user has both of those as part of the roles.... yet, as mentioned above, I can't save currencies. This makes no sense.

James Cumming   ( User )

Commented 1 year ago

I managed to solve this issue, took a lot of time to figure out. I did a fresh install and compared the *_permissions tables. There must have been an incorrect migration or something during an upgrade as there were settings permissions missing in my production *_permissions table.

I added the following permissions to the table:
update-settings-company
update-settings-defaults
update-settings-email
read-settings-email-templates
update-settings-email-templates
update-settings-invoice
update-settings-localisation
update-settings-schedule

And then I allocated these permissions to the admin role in *_role_permissions table

Hope this helps

Please login or register to leave a response.

Showing 1 to 7 of 7 discussions