Single User Access



jDownloads supports Downloads that have access restricted to individual users.


To demonstrate this facility accounts for two users, Colin Smith and David Jones, were created.  These users are to have Downloads that are restricted to themselves.  The Downloads were created in the front-end by a regular 'uploader'.   The 'uploader' could be, for example, a 'supervisor' or 'trainer' who is setting tasks for each individual.  Alternatively it could be the individuals themselves who are reporting the results of a tasks they have been set.

User Groups Settings

In the User Groups Settings - Group Creation/Editing Settings there is an option in the Publishing section to select Single User Access.

When creating a new Download in the front-end this shows the Single User Access pulldown as shown below.
single access 01

As illustrated opposite, using the pull down allows selection of the user who is to have sole front-end access.

  single access 07single access 02


In this example four Downloads were created as noted below.

Title Seen by Single Access set?
"Publically available" everyone No
"David Jones only" David Jones only Yes
"Colin Smith doc only" Colin Smith only Yes
"Another Colin Smith doc" Colin Smith only Yes

The pictures opposite illustrate who has effective "view access" in the front-end.

To further illustrate the abilities of 'Single User Access' all the Downloads in this example were created in the same category.

Even the Super User cannot see the 'Single User Access' Downloads in the front-end.
single access 03 single access 05 single access 04

If jDownloads detects that 'Single User Access' has been set then the Joomla! Access Level is automatically reset to Registered during the Save.  This occurs irrespective of which Access Level is selected during either the editing or creation of a Download in both the frontend and the backend.

Find Single User Downloads

In the back-end it is simple to see who has 'Single User Access' because jDownloads automatically sets the Joomla! Access level to Registered.

First use the Search Tools and set 'Select Access' to Registered. single access 06A
single access 09
This will show all the 'Single User' Downloads and of course any other Registered Download.
So then click on the Access column to sort.

Change Sole Access User

In the Backend you are able to change the user or set no user.  Click on single access 21which brings up a view such as shown opposite.single access 09

This allows selecting another user or to revert to a regular Download by clicking on No User.

Colin M  April 2020

Tags: index, general39

Print Email