ProjectCentreLimited / TOMs

Traffic Order Management System
GNU General Public License v3.0
0 stars 0 forks source link

User management - privileges #14

Open Djedouas opened 2 years ago

Djedouas commented 2 years ago

We need to create or investigate on existing roles to have users and superusers.

Djedouas commented 2 years ago

@traffic-orders you can post here examples of situations where you need to do something that you can't, and have to ask support for help.

Djedouas commented 1 year ago

@greid12 asks in #68

Hi,

We have a request to add a particular bay. Could i either have permissions to add new bay styles and timings of restrictions to my account or is it possible to add a loading during certain hours restrictions.

Thanks

You can add new timings and other values in other lists.

With the WRITE CAN CONFIRM account, you can manage these lists:

image

Right-click on the list you want to add a value in and select "Open Attribute Table":

2022-11-30_16-20

In the attribute table:

  1. Activate edit mode
  2. Add a new entry
  3. Write the description
  4. and the label text
  5. When finished deactivate the edit mode, a pop-up shows up to save the changes

image

Djedouas commented 1 year ago

@greid12 For Bay styling, do you mean the color/width/etc... of a specific bay? This can only be done by us at the moment.

greid12 commented 1 year ago

image

I get met with this error message when trying to add the timings, do you know what this means?

Update: it seems to be a duplicate, however when going to select the timings it does not appear in the drop down menu.

greid12 commented 1 year ago

@Djedouas I have now managed to add one but it does not appear as an option

Djedouas commented 1 year ago

OK @greid12 well done!

All right I don't see it either in the list, is it "Mon-Sun 10:00pm-6:00am" that you added (I see this is the last one in the database)?

greid12 commented 1 year ago

@Djedouas yes that time frame and also, Mon-Fri 6:30am-10:30am

Djedouas commented 1 year ago

Ok @greid12 I see that it's not as straightforward as I thought. There is 2 more steps to do, and you does not have any access for that. I have to do this.

In my opinion, admin users like you should be able to add or remove time periods easily, do you agree?

If so, I will create an enhancement issue for this.

greid12 commented 1 year ago

Yeah @Djedouas i agree, happy to be given permissions for this so we are able to add and remove when necessary

Djedouas commented 1 year ago

Ok. Not a matter of permission though, we need to create a specific user interface for that.

Typically a button to open a dedicated menu.

Djedouas commented 1 year ago

@greid12 you should be able to see the new time periods now, if not, log out and back in.

greid12 commented 1 year ago

@Djedouas The option is available and you can select but the label displays Mon-Sun 6:30-10:30 instead of Mon-Fri for some reason

Djedouas commented 1 year ago

@greid12 that's unexpected, the label is correct for me... maybe it's a label from another restriction? Can you zoom in to be sure?

greid12 commented 1 year ago

@Djedouas It was just an error on my part, the label is not showing for it however. I have added a new time restriction as well (Mon-Sun 9:30am-12:30pm) if you are able to make that live?

Djedouas commented 1 year ago

@greid12 done

greid12 commented 1 year ago

@Djedouas Hi, i have added a time period of 18:30pm-06:30am is it okay to make this live?

Djedouas commented 1 year ago

@greid12 done