The control panel is the gateway to the rest of the control system. Each action that can be performed by a user is represented with an icon. This allows quick, one-click access through the control panel to perform each function.
While the control panel page is loading, several security-based checks are occurring. Every page is privilege-based; therefore the control panel will only show the current user the pages that are accessible by the user.
Below is an example of a conditional check:
if (haspermission(can_post)) { print /*image HTML here*/ }
While a conditional statement is being executed, it will query the database. If can_post is flagged in the current user's profile, the code within the braces will execute, and include the image HTML for that function. |