User group permissions Home

Introduction
Welcome
System requirements
Licensing details
What is the registration
Using ASPRunner
Working with projects
Templates
What are templates
Cars
Classified ads
Events
Jobs
Knowledge base
News
Paypal
Real estate
Sporting
Vacation houses
Connecting to the database
Datasource tables
SQL query page
About SQL query designer
Query Designer
SQL
Results
Charts
Creating chart and setting parameters
Chart appearance
Using SQL to shape chart data
Reports
Creating report and setting parameters
Report totals and layout
Choose pages
Login page
User login settings
Advanced security settings
User group permissions
Fields order and totals
Miscellaneous settings
Choose theme
Visual Editor
About
Toolbars
Page Elements
"View as" settings
"Edit as" settings
Validation types
Lookup wizard
Events
Output directory settings
After you are done
FTP upload
FrontPage Publishing
Advanced topics
Connecting to database
Connecting to MS Access database
Connecting to MS SQL Server database
Connecting to FoxPro database
Connecting to MySQL database
Connecting to Oracle database
Connecting to MS Excel database
Connecting to CSV or Text file
Events
More about events
Global events
Table events
Page life cycle overview
Predefined actions
Send simple email
Send email with new data
Save new data in another table
Insert a record into another table
Check if specific record exists
Display a message on the Web page
Redirect to another page
Custom code
Sample code
Show list of customer orders
Check if start date is ealier than end date
Before deleting a record check if related records exist
Speed up data entry using events
Publishing ASP application to the remote Web server
Using third party FTP client to publish ASP pages to the remote Web server
Using FrontPage to publish ASP pages to the remote Web server
Demo account
What is the Demo Account?
Terms and Conditions
Master-details relationships
Using JOIN SQL queries
AJAX-based Functionality
ASPRunner session variables
Debugging tips
Template files processing rules (Files.txt)
Multilanguage support
Useful functions and links
Smarty templates
Stylesheets
Template language
Rich Text Editor plugins
How to control Inline Add/Edit functionality from script
Troubleshooting "Operation must use an updateable query" errors
ODBC
Upgrade Guide from ASPRunnerPro 4.0 and older
Frequently Asked Questions
Error: Operation must use an updateable query.
Error: Syntax error in UPDATE statement.
Error: Syntax error in INSERT INTO statement
Error: Login failed for user 'MACHINE_NAME\IUSR_MACHINE_NAME'
Error: Data type mismatch in criteria expression
Error: The Microsoft Jet database engine cannot open the file (unknown).
Error: Unable to open registry key 'Temporary (volatile) Jet DSN for process ...
Error: Data provider could not be initialized
Error: Invalid use of Null: 'Replace'
Error: Specified driver could not be loaded due to system error 5 (Oracle in OraHome92)
How can I add new ODBC Datasource
Error: Too many fields defined
Error: I enter correct login and password but receive Invalid Login error. I use SQL Server.
I cannot find ODBC Administrator applet on Windows 2000 machine
I cannot connect to my Excel (Access) database
Where can I download latest ODBC drivers
How to work with Access database stored on the remote computer?
Reserved Access, T-SQL, ODBC keywords.
Order ASPRunner online

 
  ASPRunner manual


User group permissions

 

This feature allows to assign table level permissions on database tables and views. I.e. user A can add data into table1 and edit data in table2, user B can edit and search data in table1 and can delete data in table2 etc.

To use this feature proceed to Security step in PHPRunner, click on "Define user group permissions".

There are ways to define user group permissions:

  • in the PHPRunner directly before building project (Static permissions option). In this case if you want to change some security settings you'll need to open PHPRunner project, make some changes on the User Group Permissions dialog and rebuild project.

  • on the generated pages (Dynamic permissions option). PHPRunner create new tables for user group permissions settings in the database and build admin area in the application. Admins can update permissions online.

Static permissions

On this screen, you can create user groups with assigned set of permissions.

First of all choose GroupID field that stores group name or id (see screenshot).

To add a new group, click "Add group". A dialog box will appear where you can choose username which defines this group and define initial set of permissions. Afterwards, you can change permissions for certain tables.

You can create a user group based on non-exising GroupID field value (if you plan to add users to this group later).

Apart from this, you can create a default group with a default set of permissions. When a user not belonging to any of specified groups is logged in, the default set of permissions mentioned above is assigned to him. For example, as shown on the screenshot above, the user not belonging to any of the groups, is able to edit and delete data, but is not able to add or search records in any table.

To delete selected group, click "Delete group."

To overwrite existing group, click "Add group" and choose the same group id value.

You can set any group to be an admin group. This option is availble to you when one of Advanced Security options are in use.

Dynamic permissions

Dynamic permissions require three database tables to store permissions, groups, and group members. PHPRunner allows you to create these tables or select existing ones. By adding a prefix in front of table names PHPRunner allows several projects to share the same database.

On this screen you should select existing tables or chose prefix for the new tables where user group permissions will be stored and add admin user on the Set Initial Permissions dialog.

After building you need to login as admin, add groups, set up permissions and assign users to created groups.

 

Admin area on the generated pages.

Add new groups and assign permissions to the groups:

Assign existing users to the groups:

Add, edit or delete users:

The CHM file was converted to HTML by chm2web software.