0 votes

Hi!

When browsing an OU in the webinterface, there are 3 task available under Create New: User, Contact and Group. Is it possible to remove these? We only want users to create objects from the Action pane on the home screen.

by (960 points)

1 Answer

0 votes
by (216k points)

Update 2018

Starting with Adaxes 2018.1 it is possible to disable the option to create new objects when browsing OUs and containers. For details, have a look at the following tutorial: https://www.adaxes.com/tutorials_WebInterfaceCustomization_DisallowCertainOperationsOnADObjects.htm.

Original

Hello,

You cannot remove the Create New items via the standard Web Interface configuration, but you can modify the Web Interface source files. However, keep in mind that if you change any of Adxes Web Interface source files, these files will not be backed up by the Web Interface backup/restore, and you will have to repeat the below steps manually each time you upgrade Adaxes.

To remove the Create New items from Adaxes Web Interface:

  1. First, you need to make sure that none of your Home Page Actions that create objects (such as Create User, Create Group etc) uses the default form for the object creation. The thing is that if you remove a Create New item for a directory object type, you also remove the default form used for creating this object. Thus, any Home Page Actions that use the default object creation form will fail. To check this:

    • On the computer where your Web Interface is installed, start the Web Interface Customization tool.
    • In the Interface type drop-down list, select the Web Interface you want to configure.
    • Activate the General tab and click Configure Home Page Actions.
    • In the list of Home Page Actions that appears, double click a Home Page Action that creates an object.
    • In the Edit Home Page Action dialog that appears, select the Form Customization tab and make sure that the Use customized form option is selected.
    • Click OK.
    • Repeat steps 4-6 for as many object creation Home Page Actions as you have.
    • When finished, click OK.
  2. When done with the Home Page Actions, you can edit the Web Interface configuration files. To do this, first, close the Web Interface Customization tool.

  3. Open the folder that contains the Adaxes Web Interface site that you want to configure on the computer where your Web Interface is installed. By default, Adaxes Web Interface sites are installed to the following folders:

    • Administrators:
      C:\Program Files\Softerra\Adaxes 3\Web Interface\Admin\
    • Help Desk:
      C:\Program Files\Softerra\Adaxes 3\Web Interface\HelpDesk\
    • Self-Service:
      C:\Program Files\Softerra\Adaxes 3\Web Interface\SelfService\
  4. Find the Web.config file and open it with a text editor.

  5. For each object type there will be a node with an opening tag of the form <add name="objectType">, where objectType is the name of an object type that this node represents. For example, <add name="user"> - for user objects, <add name="group"> - for groups etc.

  6. Under this node you will find a subnode opening with the objectCreator element. To remove a Create New item for an object type, you need to delete the whole node that is enclosed between the opening and closing objectCreator tags (including the tags).

  7. Repeat step 5 for all object types that you do not want the Create New item to be available for.

  8. When done, save the file.

  9. Repeat the same for the rest of the Web Interface sites, if necessary.

Related questions

0 votes
1 answer

Search - View users from an OU or group Is it possible to configure so that the search only displays users of an OU? Or specific group? https://imgur.com/wl7AIN1

asked Dec 12, 2018 by tiagotoledo (360 points)
0 votes
1 answer

Hi Guys, I'm trying to clean all users from Local Group test_group, and next new bunch of users form TXT fiel, by executing the following script as a scheduled task Import-Module ... .txt I have only 600 users. Do you have any idea how to improve this script?

asked Feb 27, 2015 by axmaster (510 points)
0 votes
1 answer

Hi Is it possible to create an Azure OU programatically using the Adaxes PowerShell module? Thanks Matt

asked Sep 22, 2023 by chappers77 (2.0k points)
0 votes
1 answer

Hello, is there an "easy" way to add a user to all group within his OU or we need to use a script for that ?

asked Apr 19, 2016 by Alexandre (460 points)
0 votes
1 answer

Good Afternoon, Currently as far as I can tell when defining a new user we are forced to select a location for a newly created user before defining information like the ... If not, is there a better way of applying this sort of functionality? Regards Josh

asked Apr 21, 2014 by jtop (680 points)
3,346 questions
3,047 answers
7,782 comments
544,982 users