Panel Name fwAccessControl/fwAccessControl_Demo.pnl
Introduction

A Demonstration Panel

This is a panel that demonstrates the use of the Framework Access Control component. The panel is presented in Figure 1:

Figure 1: Demonstration panel.
The panel contains four buttons, which are in enabled or disabled state, depending on the privileges of the user who is logged in.

Five user accounts are added (or - if exists - reset to) at the initialization step
  • demo (password:demo) - can only operate the button
  • operator (password:operator) - can operate and buttons
  • expert (password:expert) - can operate ,, buttons
  • admin (password:admin) - can operate and buttons
  • glimos (password:glimos) - can operate ,, and buttons
other users (including root user) have no access right to operate the buttons.

Have a look at the sources of the panel, and consult the Library documentation for details on implementing access control in your panels.


Instructions
To log in as another user:
Click on the button in the Current User Indicator at the bottom left side of the panel. Use one of the usernames (and passwords) indicated in the Introduction to see the buttons enabled or disabled.
Restrictions
  • The first time this panel is used, it needs to be started from the root account, so that the domain, groups and users may be added at initialization time.
  • Creation of domains, groups and users is not possible in the Integrated Access Control mode - an error message reporting this situation is displayed and the panel becomes disabled.
    To disable Integrated Access Control mode follow the instructions for the Setup panel.


Back to the documentation of the fwAccessControl component.

Piotr Golonka, CERN IT/CO-BE