How to properyly change permissions for Absences in Project-Open - permissions

We have a Problem with Absences:
A User who created an Absence can not edit the Absence after wards :(
After a user's Absence was approved he/she can still delete the absence :(
How to set the permissions for absences?

I understand your absence is controlled by a workflow, is that correct? There are two parameters controlling the behavior, so the correct solution would be to create copies of the permission functions and to set the parameters AbsenceNewPageWfEditButtonPerm and AbsenceNewPageWfDeleteButtonPerm accordingly. Please see the source code for details.

I found the file
packages/intranet-timesheet2/tcl/intranet-absences-procs.tcl
which contains the permission matrix im_absence_new_page_wf_perm_table
Unfortunately the permissions do not get effective immediately - a restart of project-open causes the permissions to be active.
A better solution would be desired - but at least it works :/

Related

Not Allowed Access for all modeul (Document model: ir.filters)

I got an error on my Odoo like on the picture, I've checked the user already has access to the user group. It's very thankful if you can help me.
I need more information but whenever you parform the action you are doing a security record rule is trggered, you can try the hard mode, go to security record rules and disable one rule and try and re enable after.
I add this setting (see on the picture) on the user's group I want to give access and it's solved. Apparently it's because the user does not have access to Object ir.filters which most of my modules use this.

How can I update the user password in Selenium-Grid-Extras?

Can anyone link me to a good Selenium-Grid-Extras guide? I have it installed, and need to customize it. Specifically, I need to update the credentials, and reboot settings. When I go to my link: http://XX.XX.XX.XX:3000/user_auto_logon, I can see the settings, but I don't know how to change them. Also, when I open my selenium_grid_extras_config.json I don't see a section that has any of this information to update. Also, even if I did find a section in the selenium_grid_extras_config.json, how would I update the password for the existing username... I'm sure it's not going to be displayed in plain text. Thanks in advance!
From Shawn McCarthy. This solved my problem:
If you want, you can just delete the selenium_grid_extras_config.json file, and rerun the jar file and it will go through the FirstTimeRunConfig again.
You should be able to pass in the username and password to the endpoint as well, http://XX.XX.XX.XX:3000/user_auto_logon?username=YOUR_USER&password=YOUR_PASSWORD
You can check out the /api endpoint to see all the possible endpoints, and the accepted parameters (and which ones are required or not). Usually with no parameters, it does a get current status/value.
Thanks Shawn!

Can't delete an app? (iTunesConnect)

I have the admin and legal role for my app(I am the sole developer). I want to delete it because it got rejected but there is no delete button. Any help?
You should be able to delete it if it falls into one of the listing statuses found in the docs here.
If you're still unable to see these options, there's some other issue and I'd recommend calling or emailing.

RavenDB: how to check permissions for a user, wanting to perform an operation on a specific document

I have a multi-part, possibly confusing question... it's been a while
since I've dug in to the Authorization bundle, so it's taking me a bit
to remember how it all works. Bear with me as I struggle to make sense
of my thoughts, here :)
The majority of the code that I'm writing in my system uses a call to
the documentSession.IsAllowed method to check and see if the
AuthorizationUser has permissions for the Activity specified. This has
been working wonderfully for us, no problem. I'm expanding my app's
authorization to make use of tags now and I'm wondering:
Does the documentSession.IsAllowed method account for Tags on document
permissions, role permissions, and user permissions?
For example:
If I have Bob assigned to the Manager role. The Manager role is
assigned a permission to allow a "Review" operation, with a Tag of
"ReadyForReview" on that permission. How do I make a call to
documentSession.isAllowed in a way that verifies that Bob can "Review"
things that are tagged "ReadyForReview" ?
I realize that I may be asking the wrong question and/or looking at
this from the wrong perspective. If I am going about this wrong,
please let me know.
The end goal is really to say "Can Bob review this assignment?" Where
an Assignment is a document in RavenDB that may or may not have a
"ReadyForReview" tag. Bob should only be allowed to review assignments
that have the "ReadyForReview" tag. I would like to have a method that
gives me a boolean value telling me if Bob can review that document.
Derick,
In addition to simply IsAllowed, you also have IsOperationAllowedOnDocument.
That allows you to ask security questions about a specific document instance, not just globally.

Is it possible to give edit issue permission if there's not work log on issue in JIRA?

I configured that jira-users group members can create issues.
And I want to give edit permission to jira-users but only if the issue hasnot a work log in it
Is this possible in JIRA 4.4.x
Thanks
So you can only edit an issue if work hasn't started on it? Tricky. I think I'd end up editing system-issueoperations-plugin.xml and changing the condition elements to add a new condition. The new condition would be a custom condition that checked whether the issue has at least one work log.
You can change issue permissions so that only assignee can edit this issue. So when developer starts work on the issue he assigns himself to this issue and only he can edit it.
Documentation is here - http://confluence.atlassian.com/display/JIRA044/Managing+Project+Permissions