You are here

function user_admin_access_edit in Drupal 6

Same name and namespace in other branches
  1. 4 modules/user.module \user_admin_access_edit()
  2. 5 modules/user/user.module \user_admin_access_edit()

Menu callback: edit an access rule.

1 string reference to 'user_admin_access_edit'
user_menu in modules/user/user.module
Implementation of hook_menu().

File

modules/user/user.admin.inc, line 746
Admin page callback file for the user module.

Code

function user_admin_access_edit($aid = 0) {
  $edit = db_fetch_array(db_query('SELECT aid, type, status, mask FROM {access} WHERE aid = %d', $aid));
  return drupal_get_form('user_admin_access_edit_form', $edit, t('Save rule'));
}