Search found 23 matches

by bonnedav
Sun Sep 02, 2018 10:14 pm
Forum: Time Tracker
Topic: User roles and rights redesign
Replies: 58
Views: 15130

Re: User roles and rights redesign

Maybe it would be easier to make it it's own page?
by bonnedav
Sun Sep 02, 2018 4:09 am
Forum: Time Tracker
Topic: User roles and rights redesign
Replies: 58
Views: 15130

Re: User roles and rights redesign

The "manage_features" right does not seem to work. ex. the default co-manager role does not have the right but can still enable and disable features without it. also when do you plan to begin work on the org tree system.
by bonnedav
Wed Mar 28, 2018 1:40 am
Forum: Time Tracker
Topic: User roles and rights redesign
Replies: 58
Views: 15130

Re: User roles and rights redesign

How about a "view_own_tasks" permission that let's you view tasks for assigned projects?
by bonnedav
Mon Mar 19, 2018 3:36 am
Forum: Time Tracker
Topic: User roles and rights redesign
Replies: 58
Views: 15130

Re: User roles and rights redesign

Instead of punch mode entirely, how about an additional Puncher role (lower rank than User). PUNCHER - a user with minimal set of rights to punch in or out. "punch_own_time" - can punch in or out of Time Tracker. "view_own_reports" - view own reports. "view_own_charts" - view own charts. To add to ...
by bonnedav
Sat Mar 17, 2018 6:07 am
Forum: Time Tracker
Topic: User roles and rights redesign
Replies: 58
Views: 15130

Re: User roles and rights redesign

When logged in as a user with punch mode enabled, I can still delete my own entries and change past entry's using the current time and add entries for past dates. This is not how a pure "time clock" system would work and might not be desirable to some managers. I understand that the date lock plugin...
by bonnedav
Fri Mar 16, 2018 4:54 am
Forum: Time Tracker
Topic: User roles and rights redesign
Replies: 58
Views: 15130

Re: User roles and rights redesign

I think there should be a way to disallow someone form editing there own times once imputed. This along with punch mode would allow a manager to use this as a pure "punch clock" system, where employs use it only to clock it/out of work, if they want. Editing you own times and someone else's should b...
by bonnedav
Sat Feb 24, 2018 1:06 am
Forum: Time Tracker
Topic: User roles and rights redesign
Replies: 58
Views: 15130

Re: User roles and rights redesign

Anyone with "manage_users" should be able to create, manage, and delete, anyone who's role has a lower rank then their own. In doing so they should also be able to assign and reassign any role that has a lower rank then their own, during user creation or editing, but only for users they can edit. An...
by bonnedav
Fri Feb 23, 2018 8:24 am
Forum: Time Tracker
Topic: User roles and rights redesign
Replies: 58
Views: 15130

Re: User roles and rights redesign

Maybe "org manager" needs to be renamed to "parent manager" and made an intrinsic role on any sub group that is given to the manager of its parent group. So that any group's manager will be a "parent manager" on their own sub groups and always have all perms including the ability to edit the "manage...
by bonnedav
Thu Feb 22, 2018 8:12 pm
Forum: Time Tracker
Topic: User roles and rights redesign
Replies: 58
Views: 15130

Re: User roles and rights redesign

You need to make sure that if a perm is removed from a sub-group manager they can't add it to another role. Also, this system works to let the top level manager edit sub group perms, but how would a level 2 manager remove a perm from the manager of one of there level 3 groups? Also, i think you shou...
by bonnedav
Wed Feb 21, 2018 8:11 pm
Forum: Time Tracker
Topic: User roles and rights redesign
Replies: 58
Views: 15130

Re: User roles and rights redesign

There is also the problem that if you remove manage_subgroups from a sub-group's manager could they not just add it back? Maybe remove manage_subgroup from manager and create a new "root manager" with it? This role will be given to the manager of a top level (root) group and guarantee them all right...
by bonnedav
Wed Feb 21, 2018 6:35 pm
Forum: Time Tracker
Topic: User roles and rights redesign
Replies: 58
Views: 15130

Re: User roles and rights redesign

Can the manager role be edited? Also different groups should be able to each have a role with the same rank. For example group1 has a custom role with rank 15 group2 should also be able to have a custom role with rank 15 and a different name, and have the id field used to differentiate them in the DB.
by bonnedav
Wed Feb 21, 2018 4:54 pm
Forum: Time Tracker
Topic: User roles and rights redesign
Replies: 58
Views: 15130

Re: User roles and rights redesign

Also, how deep can sub groups go? I think that when a manager creates a sub group he should be able to enable/disable sub group management for the new group's manager. Same with admins for top level groups. Groups created with multiteam mode should have sub groups disabled by default. They can be en...
by bonnedav
Wed Feb 21, 2018 4:36 pm
Forum: Time Tracker
Topic: User roles and rights redesign
Replies: 58
Views: 15130

Re: User roles and rights redesign

role_idx still sounds like the same thing as role.id. maybe i am just misunderstanding? It looks fine in phpmyadmin so just stick with it.
by bonnedav
Wed Feb 21, 2018 4:32 pm
Forum: Time Tracker
Topic: User roles and rights redesign
Replies: 58
Views: 15130

Re: User roles and rights redesign

When you delete a role it should remove the DB entry completely, not just set status to null. Unless you have an un-delete option, it just clutters up the DB. Same way with other tables as well.
by bonnedav
Wed Feb 21, 2018 4:09 pm
Forum: Time Tracker
Topic: User roles and rights redesign
Replies: 58
Views: 15130

Re: User roles and rights redesign

What is the difference between Id and role_idx? Do we need both? The post above you last one made it sound like the rank should be the unique id and I was saying that it should be separate. They are in you example. EDIT: The table you made in you last commit has ID as the primary key. Everything wit...