Search results


Table: usergroup

The article provides a table called "usergroup" that defines user groups. The table contains several columns, including "ref," which is an auto-incrementing index, "name," which is the name of the user group, and "permissions," which is a list of permissions that the user group has.

Read more...


Table: usergroup_collection

The usergroup_collection table is a database table in ResourceSpace that stores collections shared with user groups. It has three columns: usergroup, collection, and request_feedback. The usergroup column is an integer that references the usergroup table, which contains information about user groups.

Read more...


Table: usergroup_dash_tile

The usergroup_dash_tile table is a configuration table in ResourceSpace that stores dash tiles for user groups. It has five columns, including an auto-incrementing index, usergroup, dash_tile, default_order_by, and order_by.

Read more...


add_usergroup_dash_tile()

Developer reference for function add_usergroup_dash_tile()

Read more...


append_usergroup_position()

Developer reference for function append_usergroup_position()

Read more...


reorder_usergroup_dash()

Developer reference for function reorder_usergroup_dash()

Read more...


update_usergroup_dash_tile_order()

Developer reference for function update_usergroup_dash_tile_order()

Read more...


build_usergroup_dash()

Developer reference for function build_usergroup_dash()

Read more...


get_usergroup_available_tiles()

Developer reference for function get_usergroup_available_tiles()

Read more...


get_usergroup_tile()

Developer reference for function get_usergroup_tile()

Read more...


delete_usergroup_dash_tile()

Developer reference for function delete_usergroup_dash_tile()

Read more...


user_set_usergroup()

Developer reference for function user_set_usergroup()

Read more...


get_resource_custom_access_users_usergroups()

Developer reference for function get_resource_custom_access_users_usergroups()

Read more...


delete_resource_custom_access_usergroups()

Developer reference for function delete_resource_custom_access_usergroups()

Read more...


get_usergroups()

Developer reference for function get_usergroups()

Read more...


get_usergroup()

Developer reference for function get_usergroup()

Read more...


get_registration_selectable_usergroups()

Developer reference for function get_registration_selectable_usergroups()

Read more...


save_usergroup()

Description Save changes to a usergroup or create usergroup Parameters Column Type Default Description $ref int Group ref.

Read more...


get_approver_usergroups()

Description Returns an array of the user groups the supplied user group acts as an approver for. Uses config $usergroup_approval_mappings. Parameters Column Type Default Description $usergroup int "" Approving user group Return array Array of subordinate user group ids.

Read more...


get_usergroup_approvers()

Description Returns an array of user groups who act as user request approvers to the user group supplied. Uses config $usergroup_approval_mappings. Parameters Column Type Default Description $usergroup int "" Subordinate user group who's approval user group we need to find.

Read more...


copy_usergroup_permissions()

Description Copy the permissions string from another usergroup Parameters Column Type Default Description $src_id int The group ID to copy from $dst_id int The group ID to copy to Return mixed bool|int True to indicate existing group has been updated or ID of newly created group This article was last updated 7th August 2025 07:05 Europe/London time based on the source file dated 4th August 2025 09:55 Europe/London time.

Read more...


can_set_admin_usergroup()

Description Consider if the current user is able to escalate the permissions of a user to the level of a "super admin". Only users with "a" permission should be able to make other users super admins (user groups with "a" permission).

Read more...


set_usergroup_config_option()

Description Save or update config option for user group. Parameters Column Type Default Description $usergroup_id int User group id $param_name string Config parameter name $param_value: ?string $param_value string Config parameter value Location include/config_functions.

Read more...


get_usergroup_parent_for_inherit_flag()

Description Check if the usergroup has a parent and the specified inherit flag is in use e.g. user group inherits permissions from parent. Parameters Column Type Default Description $usergroup_id int User group of the current user / user group to test.

Read more...


delete_usergroup()

Description Delete a user group and associated records. Parameters Column Type Default Description $usergroup_ref: int array"i" $usergroup_ref int 0; $dependant_user_count + $dependant_groups > 0; if $has_dependants This article was last updated 7th August 2025 07:05 Europe/London time based on the source file dated 4th August 2025 09:55 Europe/London time.

Read more...


load_site_text_for_usergroup()

Description load_site_text_for_usergroup supplying a user group id and then return to the defaults by supplying null. Supplying the $usergroup global value would be more common to return to the site text of the logged in user.

Read more...


Creating user groups

This article provides information on how to create user groups in ResourceSpace. The default user groups in ResourceSpace are Administrators, Archivist, General users, Restricted user, and Super Admin.

Read more...


 Creating users

This article provides a step-by-step guide on how to create a user account in a system. It explains that user accounts require user groups to be created first, as user permissions and configuration settings are managed in the groups.

Read more...


Configuring for multi-client use

The article provides a method for setting up ResourceSpace as an environment where multiple users can use the system, but their resources remain private from each other. The method involves creating a new global field called 'client' that can be attached to all types of resources.

Read more...


Falcon link

The Falcon Link plugin allows users to publish resources as templates in Falcon.io. However, users must have an account with Falcon.io to use this plugin. The plugin creates a share link with no expiration date instead of copying the file itself when a resource is published to Falcon.

Read more...


Configuring email and messaging

This article provides guidance on how to configure email and messaging settings in ResourceSpace. To change the email address that system emails are sent from, users should navigate to Admin > System > System configuration and change the 'Email from address'.

Read more...


All user permissions

ResourceSpace is a digital asset management system that allows users to control which resources other users can see and how they can interact with them. The system offers a range of permission options, including search, metadata fields, resource types, resource creation, featured collections, restrictive permissions, and administration.

Read more...


Wordpress_SSO

The Wordpress_SSO plugin enables users to log in to ResourceSpace using Wordpress single sign-on (SSO) Identity Provider (IdP). However, the plugin should only be enabled and configured by system administrators as it affects how users log in to ResourceSpace.

Read more...


Database schema

Database schema for ResourceSpace.

Read more...


 Sharing upload links

ResourceSpace has introduced a new feature that allows users to share upload links externally. This feature enables external media creators to upload files into ResourceSpace without requiring an account.

Read more...


Managing external shares

The article provides guidance on managing external shares in ResourceSpace. Users can manage their external shares by clicking on the user menu and selecting 'My shares'. Administrators can manage all existing shares via the 'External shares' link under the admin menu.

Read more...


Geographic search

The geographic search function allows users to search for resources that have embedded location data. To use the function, users can drag the map and zoom to an area of interest or search for a location using the search button.

Read more...


User actions

User actions are now enabled for all users by default, unless disabled by a system administrator. Actions alert users to resources or activities that require their attention, and the actions visible to a user will vary depending on system configuration and user permissions.

Read more...


save_user

The article provides a function to save a user record with specific parameters. The function requires the user ID ($ref) and a JSON array ($data) containing information like fullname, password, email, and more.

Read more...


Table: daily_stat

The article describes the structure of the "daily_stat" table, which is used to store daily statistics grouped by day, user group, and activity type. The table has columns for the year, month, and day when the activity took place, the user group that carried out the activity, the activity type code, the ID of the table in question, the count of how many times the activity was carried out on the object in the day in question by any user, and whether the activity happened via an external share.

Read more...


Table: external_access_keys

The article provides a table called "external_access_keys" that is used for externally sharing resources. The table contains several columns, including "resource," which refers to the resource being shared, "access_key," which is the external access key, "user," which refers to the user who created the share, "usergroup," which refers to the user group that the share belongs to, "collection," which refers to the collection that the share belongs to, "request_feedback," which is a boolean value that determines whether external contacts can provide feedback when accessing the share, "email," which is the email address that the share was created for, "date," which is the date the share was created, "lastused," which is the date the share was last accessed, "access," which is the access level (0 for open, 1 for restricted), "expires," which is the share expiration date, "password_hash," which is the hash of the share password (NULL if not set), and "upload," which is set to 0 for standard external view access share and 1 for an external upload share for a collection.

Read more...


Table: filter

This article provides a table definition for the "filter" table, which is used for search, edit, and derestrict filters on user groups. The table has three columns: "ref," which is an auto-incrementing index; "name," which is the name of the filter; and "filter_condition," which defines which rules must be met to satisfy the filter.

Read more...


Table: report

Table: report

Read more...


Table: report_periodic_emails

The report_periodic_emails table is a database table in ResourceSpace that stores information about users who have subscribed to receive a report regularly. The table has several columns, including ref, user, send_all_users, user_groups, report, period, email_days, last_sent, and search_params.

Read more...


Table: resource_custom_access

The article provides information about the resource_custom_access table in ResourceSpace, which defines custom access for a resource. This table contains four columns, including resource, usergroup, user, access, and user_expires.

Read more...


Table: site_text

The site_text table is used to store any custom site text that the user has entered, replacing that stored in the language folder. The table has six columns: page, name, text, ref, language, and specific_to_group.

Read more...


Table: user

The "user" table in ResourceSpace stores all user information, including their username, password, full name, email address, user group, and last activity date. It also includes information on whether the user is currently logged in, their browser user agent string, and their IP address.

Read more...


Table: user_preferences

The user_preferences table stores all user preferences and system configurations. It has three columns: ref, user, parameter, and value. The ref column is an auto-incrementing index, while the user column refers to the user table.

Read more...


get_user_actions()

Developer reference for function get_user_actions()

Read more...


get_user_collections()

Developer reference for function get_user_collections()

Read more...


get_collection()

Developer reference for function get_collection()

Read more...


add_resource_to_collection()

Developer reference for function add_resource_to_collection()

Read more...


collection_writeable()

Developer reference for function collection_writeable()

Read more...


collection_readable()

Developer reference for function collection_readable()

Read more...


search_public_collections()

Developer reference for function search_public_collections()

Read more...


save_collection()

Developer reference for function save_collection()

Read more...


email_collection()

Developer reference for function email_collection()

Read more...


generate_collection_access_key()

Developer reference for function generate_collection_access_key()

Read more...


add_saved_search_items()

Developer reference for function add_saved_search_items()

Read more...


get_theme_image()

Developer reference for function get_theme_image()

Read more...


send_collection_feedback()

Developer reference for function send_collection_feedback()

Read more...


get_collection_external_access()

Developer reference for function get_collection_external_access()

Read more...


edit_collection_external_access()

Developer reference for function edit_collection_external_access()

Read more...


set_config_option()

Developer reference for function set_config_option()

Read more...


get_config_option()

Developer reference for function get_config_option()

Read more...


get_config_options()

Developer reference for function get_config_options()

Read more...


process_config_options()

Developer reference for function process_config_options()

Read more...


create_dash_tile()

Developer reference for function create_dash_tile()

Read more...


update_dash_tile()

Developer reference for function update_dash_tile()

Read more...


delete_dash_tile()

Developer reference for function delete_dash_tile()

Read more...


cleanup_dash_tiles()

Developer reference for function cleanup_dash_tiles()

Read more...


get_alluser_available_tiles()

Developer reference for function get_alluser_available_tiles()

Read more...


get_default_dash()

Developer reference for function get_default_dash()

Read more...


get_managed_dash()

Developer reference for function get_managed_dash()

Read more...


get_tile_user_groups()

Developer reference for function get_tile_user_groups()

Read more...


create_new_user_dash()

Developer reference for function create_new_user_dash()

Read more...


get_user_available_tiles()

Developer reference for function get_user_available_tiles()

Read more...


job_queue_run_job()

Developer reference for function job_queue_run_job()

Read more...


get_section_list()

Developer reference for function get_section_list()

Read more...


perform_login()

Developer reference for function perform_login()

Read more...


message_add()

Developer reference for function message_add()

Read more...


message_send_unread_emails()

Developer reference for function message_send_unread_emails()

Read more...


system_notification()

Developer reference for function system_notification()

Read more...


get_export_tables()

Developer reference for function get_export_tables()

Read more...


edit_filter_to_restype_permission()

Developer reference for function edit_filter_to_restype_permission()

Read more...


config_gen_setup_post()

Developer reference for function config_gen_setup_post()

Read more...


config_gen_setup_html()

Developer reference for function config_gen_setup_html()

Read more...


config_single_group_select()

Developer reference for function config_single_group_select()

Read more...


config_multi_group_select()

Developer reference for function config_multi_group_select()

Read more...


render_user_group_multi_select()

Developer reference for function render_user_group_multi_select()

Read more...


render_user_group_select()

Developer reference for function render_user_group_select()

Read more...


render_user_group_checkbox_select()

Developer reference for function render_user_group_checkbox_select()

Read more...


render_access_key_tr()

Developer reference for function render_access_key_tr()

Read more...


render_share_options()

Developer reference for function render_share_options()

Read more...


do_report()

Developer reference for function do_report()

Read more...


send_periodic_report_emails()

Developer reference for function send_periodic_report_emails()

Read more...


save_resource_data()

Developer reference for function save_resource_data()

Read more...


save_resource_data_multi()

Developer reference for function save_resource_data_multi()

Read more...


email_resource()

Developer reference for function email_resource()

Read more...


copy_resource()

Developer reference for function copy_resource()

Read more...


get_resource_custom_access()

Developer reference for function get_resource_custom_access()

Read more...


save_resource_custom_access()

Developer reference for function save_resource_custom_access()

Read more...


get_custom_access()

Developer reference for function get_custom_access()

Read more...


get_resource_access()

Developer reference for function get_resource_access()

Read more...


edit_resource_external_access()

Developer reference for function edit_resource_external_access()

Read more...


resource_download_allowed()

Developer reference for function resource_download_allowed()

Read more...


get_edit_access()

Developer reference for function get_edit_access()

Read more...


generate_resource_access_key()

Developer reference for function generate_resource_access_key()

Read more...


get_resource_external_access()

Developer reference for function get_resource_external_access()

Read more...


copy_locked_data()

Developer reference for function copy_locked_data()

Read more...


get_filter()

Developer reference for function get_filter()

Read more...


get_filter_rules()

Developer reference for function get_filter_rules()

Read more...


delete_filter()

Developer reference for function delete_filter()

Read more...


validate_user()

Developer reference for function validate_user()

Read more...


setup_user()

Developer reference for function setup_user()

Read more...


email_user_welcome()

Developer reference for function email_user_welcome()

Read more...


new_user()

Developer reference for function new_user()

Read more...


get_notification_users()

Developer reference for function get_notification_users()

Read more...


get_featured_collection_resources()

Developer reference for function get_featured_collection_resources()

Read more...


can_share_upload_link()

Description Check if user is permitted to create an external upload link for the given collection Parameters Column Type Default Description $collection_data array Array of collection data Return boolean Location include/collections_functions.

Read more...


create_upload_link()

Description Creates an upload link for a collection that can be shared 'usergroup' Usergroup id to share as (must be in $upload_link_usergroups array) 'expires' Expiration date in 'YYYY-MM-DD' format 'password' Optional password for share access 'emails' Optional array of email addresses to generate keys for Parameters Column Type Default Description $collection int Collection ID $shareoptions array - values to set Return string Share access key Location include/collections_functions.

Read more...


upload_share_setup()

Description Set up external upload share "collection" - (int) collection ID "user" - (int) user ID of share creator "usergroup" - (int) usergroup ID used for share Parameters Column Type Default Description $key string access key $shareopts array array Array of share options Return void Location include/collections_functions.

Read more...


external_upload_notify()

Description Notify the creator of an external upload share that resources have been uploaded Parameters Column Type Default Description $collection int Ref of external shared collection $k string External upload access key $tempcollection int Ref of temporay upload collection Return void Location include/collections_functions.

Read more...


purge_expired_shares()

Description Purge all expired shares "share_group" - (int) Usergroup ref 'shared as' "share_user" - (int) user ID of share creator "share_type" - (int) 0=view, 1=upload "share_collection" - (int) Collection ID Parameters Column Type Default Description $filteropts array Array of options to filter shares purged Return string|int Location include/collections_functions.

Read more...


get_external_shares()

Description Get details of external shares "share_group" - (int) Usergroup ref 'shared as' "share_user" - (int) user ID of share creator "share_order_by" - (string) order by column "share_sort" - (string) sortorder (ASC or DESC) "share_type" - (int) 0=view, 1=upload "share_collection" - (int) Collection ID "share_resource" - (int) Resource ID "access_key" - (string) Access key "ignore_permissions"- (bool) Show all shares, irrespective of permissions Parameters Column Type Default Description $filteropts array Array of options to filter shares returned Return array Location include/resource_functions.

Read more...


emulate_user()

Description Used to emulate system users when accessing system anonymously or via external shares Sets global array such as $userpermissions, $username and sets any relevant config options Parameters Column Type Default Description $user int User ID $usergroup int "" usergroup ID Return void This article was last updated 7th August 2025 07:05 Europe/London time based on the source file dated 4th August 2025 09:55 Europe/London time.

Read more...


send_collection_to_admin()

Description Send collection to administrators - used if $send_collection_to_admin is enabled Parameters Column Type Default Description $collection int Collection ID Return boolean Location include/collections_functions.

Read more...


resign_all_code()

Description Returns a signature for a given block of code. Parameters Column Type Default Description $confirm bool true Require user to approve code changes when resigning from the server side.

Read more...


send_user_notification()

Description Send system notifications to specified users, checking the user preferences first if specified This will contain two arrays:- "emails" array of emails sent, with the following elements:- "email" => Email address "subject" => Email subject "body" => Body text "messages" Array of system messages sent with the following elements :- "user" => User ID "message" => message text "url" => url Parameters Column Type Default Description $users array Array of user IDs or array of user details from get_users() $notifymessage ResourceSpaceUserNotification An instance of a ResourceSpaceUserNotification object holding message properties $forcemail bool false Force system to send email instead of notification? Return array Array containing resulting messages - can be used for testing when emails are not being sent Location include/message_functions.

Read more...


override_rs_variables_by_eval()

The `override_rs_variables_by_eval()` function is a PHP code that runs on an array of variables, which is used for modifying `$GLOBALS`. The function takes two parameters: `$variables`, which is an array of variables to apply the override on, and `$code`, which is a signed string containing the PHP code to run.

Read more...


delete_config_option()

Description Delete entry from the user_preferences table completely (instead of setting to blank via set_config_option). Used by system preferences page when deleting a file to allow fallback to value (if set) in config.

Read more...


get_user_actions_recent()

Description Get recent user actions, optionally for all users. For use by action notifications cron job. the 'a' permission and the current script is not running from CLI then only the currently logged on user's actions will be returned Included columns are as per get_user_actions() - resourcerequest - array of resource requests - userrequest - array of user requests - resourcereview - array of resources to reviewdescription) Parameters Column Type Default Description $minutes int Return actions that were created in the last $minutes minutes $allusers: bool $userref; []; // Find all resources that have changed archive state in the given number of minutes if is_int_loose$view_title_field $allusers bool Return actions for all users? If false, or if the current user does not have Return array An array with the user id as the index and the following arrays of sub elements.

Read more...


actions_filter_by_user()

Description Filter actions in the provided array to return only those applicable to the given user Parameters Column Type Default Description $actionuser int User ref to get actions for $actions: array $actions_approve_hide_groups; $usergroup $actions_resource_requests $actions_account_requests $actions array Array of actions as returned by get_user_actions_recent() Return array Subset of actions for the given user as would be provided by get_user_actions() Location include/action_functions.

Read more...


setup_command_line_user()

Description Set up a dummy user with required permissions etc. to pass permission checks if running scripts from the command line e.g. ["username" => "My Application", "permissions" => "h,v,e0", "groupname => "My Application", "resource_defaults => "region=EMEA", ] Parameters Column Type Default Description $setoptions array can these a t v .

Read more...


register_group_access_plugins()

Description Load group specific plugins and reorder plugins list Parameters Column Type Default Description $usergroup int -1 Usergroup reference $plugins array Enabled Plugins enabled_groups config config_json FROM disable_group_select 0 ORDER BY priority" array "plugins"; Return array Location include/plugin_functions.

Read more...


config_filter_by_search()

Description Process values from config search fields, see render_config_filter_by_search() Filter $page_def elements to show only those searched for. array() - empty array for system config array('user' => 1) - key 'user' and int representing user ref to check user preferences array('usergroup' => 2) - key 'usergroup' and int representing usergroup ref to check user group preferences Parameters Column Type Default Description $page_def array Array containing page definition, from functions config_add_ .

Read more...