OpenCATS 0.9.4-3

Free, Open-Source Applicant Tracking System including job-board. Entirely customisable!

Please describe the issue you're having
If you accept the answer, please mark the topic as [SOLVED] by clicking the tick.

Moderators: RussH, cptr13

Forum rules: Just please remember to play nicely once you walk through the door. You can disagree with us, or any other commenters in this forum, but respect our space and keep your comments directed to the topic at hand.
By rossi86m
#4378
Hello guys!

I am trying to create a ACL role called recruiter to give access to users only to edit candidates, edit joborders and not able to add a joborder

This is what I modify in the config.php file

/*
require_once('.\constants.php');
// defining user roles
const USER_ROLES = array(
'candidate' => array('Candidate', 'candidate', 'This is a candidate.', ACCESS_LEVEL_SA, ACCESS_LEVEL_READ),
'demo' => array('Demo', 'demo', 'This is a demo user.', ACCESS_LEVEL_SA, ACCESS_LEVEL_READ)
);
*/
// defining access levels different from the default access level
const ACCESS_LEVEL_MAP = array(
'candidate' => array(
),
'recruiter' => array(
'candidates'=> ACCESS_LEVEL_EDIT,
'joborders' => ACCESS_LEVEL_EDIT,
'joborders.add' => ACCESS_LEVEL_DISABLED,
),

'demo' => array(
'candidates' => ACCESS_LEVEL_DELETE,
'candidates.emailCandidates' => ACCESS_LEVEL_DISABLED,
'candidates.history' => ACCESS_LEVEL_DEMO,
'joborders' => ACCESS_LEVEL_DELETE,
'joborders.show' => ACCESS_LEVEL_DEMO,
'joborders.email' => ACCESS_LEVEL_DISABLED,
)
);


I also run this script in the db
update user set cetegories= "recruiter" where user_name = "recr"

If I log in with that user I still able to see everything

Can someone tell me what i am doing wrong?

Thanks in advance!

Marco

For the effortless Exchange migration, EdbMails Ex[…]

Learning the skill of self defense is the great ac[…]

EdbMails Exchange Migration software is the best o[…]

How to change font of graphs

Hi, I want to change the font of my graphs. I noti[…]

CPL-consistent "debranding"

I'm confident by using my webhosts that my subvers[…]

Also, at the top I see this error: Warning: inclu[…]

I've written a custom PHP code which is actually a[…]

It would be nice for CATSone to also allow the aut[…]

Hi there! I would like to implement a search box […]

OpenCATS restore

Yes I think so. I assume you made a backup of al y[…]

Is this a fresh install of 0.9.4-3 and you importe[…]