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

wants to Edit Weekend Day and Another role in my user #1048

Closed
karthikalsv opened this issue Aug 20, 2019 · 13 comments · Fixed by #1050
Closed

wants to Edit Weekend Day and Another role in my user #1048

karthikalsv opened this issue Aug 20, 2019 · 13 comments · Fixed by #1050
Milestone

Comments

@karthikalsv
Copy link

@karthikalsv karthikalsv commented Aug 20, 2019

Hi ,
I add some responsibilities to the Role_Sales using local.yaml.

Screenshot_2

But Role_user is not in the list .

Screenshot_3

and My weekend is friday and i edit in the local.yaml . But in the website its showing sunday too .

Screenshot_4

I uploaded my local.yaml file . Please check it

local.txt

@kevinpapst kevinpapst mentioned this issue Aug 20, 2019
4 of 4 tasks complete
@kevinpapst

This comment has been minimized.

Copy link
Owner

@kevinpapst kevinpapst commented Aug 20, 2019

Roles: this is not possible right, but PR #1050 adds the option to create new roles.
Will be included in the next release.

Regarding the weekend: https://www.kimai.org/documentation/calendar.html
Sunday = 0 (not 7)

@kevinpapst kevinpapst added this to the 1.2 milestone Aug 20, 2019
@karthikalsv

This comment has been minimized.

Copy link
Author

@karthikalsv karthikalsv commented Aug 22, 2019

Hi,
Using these below 2steps i can create new roles ?

https://www.kimai.org/documentation/users.html#permissions

@kevinpapst

This comment has been minimized.

Copy link
Owner

@kevinpapst kevinpapst commented Aug 22, 2019

Yes with the next release.

@karthikalsv

This comment has been minimized.

Copy link
Author

@karthikalsv karthikalsv commented Aug 22, 2019

ok . Will you add Location in kimai2 1.2 ?

@kevinpapst

This comment has been minimized.

Copy link
Owner

@kevinpapst kevinpapst commented Aug 22, 2019

Its done when its done... you can see a very rough planning in the milestones section:
https://github.com/kevinpapst/kimai2/milestones
You can use the latest master to get it asap.

@karthikalsv

This comment has been minimized.

Copy link
Author

@karthikalsv karthikalsv commented Aug 22, 2019

ok . Good to hear ., One More Issue while am exporting my timesheet its showing details alone not a download or Downloadable Format options .

@kevinpapst

This comment has been minimized.

Copy link
Owner

@kevinpapst kevinpapst commented Aug 22, 2019

scroll down to the bottom of the list for download buttons.
export will be improved a lot for 1.2, see #1046

@karthikalsv

This comment has been minimized.

Copy link
Author

@karthikalsv karthikalsv commented Aug 22, 2019

Nothing in the bottom . Only Details and blank screen in the bottom .

@kevinpapst

This comment has been minimized.

Copy link
Owner

@kevinpapst kevinpapst commented Aug 22, 2019

Then you messed up your permissions. You need create_export permission to see the buttons.

@karthikalsv

This comment has been minimized.

Copy link
Author

@karthikalsv karthikalsv commented Aug 22, 2019

Ok I got it . But there is an bug still while downloading in PDF Format . The error showing like below . Remaining Working well

Screenshot_6

@kevinpapst

This comment has been minimized.

Copy link
Owner

@kevinpapst kevinpapst commented Aug 22, 2019

Check the log file var/log/prod.log

@karthikalsv

This comment has been minimized.

Copy link
Author

@karthikalsv karthikalsv commented Aug 23, 2019

When i checked the prod.log file . The error Showing like this .

[2019-08-23 05:32:39] cache.WARNING: Failed to save key "%5BKevinPapst%5CAdminLTEBundle%5CController%5CSidebarController%23menuAction%5D%5B1%5D" (array) {"key":"%5BKevinPapst%5CAdminLTEBundle%5CController%5CSidebarController%23menuAction%5D%5B1%5D","type":"array","exception":"[object] (ErrorException(code: 0): file_put_contents(/var/www/html/simarabia/var/cache/prod/pools/uGfkh7+rKX/5d5f7a77593b14.75706697): failed to open stream: Permission denied at /var/www/html/simarabia/vendor/symfony/cache/Traits/FilesystemCommonTrait.php:92)"} []
[2019-08-23 05:32:39] security.DEBUG: Stored the security token in the session. {"key":"_security_secured_area"} []

I tried clearing the cache also . but it didn't work out

@kevinpapst

This comment has been minimized.

Copy link
Owner

@kevinpapst kevinpapst commented Aug 24, 2019

file_put_contents(/var/www/html/simarabia/var/cache/prod/pools/uGfkh7+rKX/5d5f7a77593b14.75706697): failed to open stream: Permission denied

The error is pretty clear. Kimai needs write permissions for var/cache/ as stated in the documentation.

Repository owner locked as resolved and limited conversation to collaborators Aug 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants
You can’t perform that action at this time.