Overview
It is possible to prevent users from accessing a single page or an area of Weighsoft - it is all done using the URL of the webpage in question.
Required Settings
Hover over Administration and click System Settings
Check Enable User Url Management
Click Save
Log out of Weighsoft and Log back in.
Once enabled you will see the User URL Management option in the Administration drop-down menu
Block a users access to a Page
Note the URL to which you want to block access
(in this example we will be blocking access to the main Accounts screen)
Navigate to the screen you wish to block
Look at the URL (web address) at the top of your browser and copy everything back to the first backslash as shown below.
Block the access
To block the access you first need to set the area in question as a URL that can be blocked (this means that in the future you an just assign or remove users to that block as required)
Hover over administration and click User URL Management
Click on the URL tab
Set a URL Name you will recognise e.g. "Account Screen"
Enter the URL you wish to prevent access to. If you want to block access to an area (e.g. all account areas) you can replace the URL you made a note of with an asterisk. /Customers/Accounts/* will block a user from all areas of Weighsoft where the address begins with /Customers/Accounts/.
Click Save next to the entered URL
Note: The use of the asterisk can be important. For example if you block access only to /Customers/Accounts/Accounts.aspx a technically-competent of knowledgeable user could bypass the block by instead going directly to an accounts Is number, for example /Customers/Accounts/AccountDetails.aspx?accountId=2.
β
Using the Asterisk will block access to everything within the /Customers/Accounts/ page group.
Assign Users to the Blocked URL rule
Next you need to assign users to be blocked.
Select the rule from the first list (URLs).
Check each user to be blocked in the second list (Users)
Click save under the second list.
When the user next logs in they will no longer have access and see a page that simply states Invalid Access.
Blocking Groups of Users
Rather than blocking individual users you can also create groups that can be blocked all at once.
Create a Group
On the User URL Management screen select the Groups tab
Enter the name of the group you wish to create in the Group Name box and click Save.
Adding users to a Group
Click on the Group that now appears in the left-hand box
In the "Users" box click the box against any user that need to be in the group
Click Save at the bottom of the users column
Block a Group from a URL
Select the Group from the left-hand column
Select the URLS in the right-hand column that they need to be blocked from (this will list the URLs that have been saved in the URLs tab)
Click Save at the bottom of the far-right column
All users in that group are now blocked from that URL
Warning - Blocking access to ALL of Weighsoft
It is important that you do not create a black with a URL of /*. Doing so will block that user from using any of Weighsoft at all.




