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:
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.
|