### Simplified Tenant URL Format for IOMAD Login Source: https://www.iomad.org/documentation/documentation/administration/how-to-set-up-different-urls-per-tenant This snippet illustrates the simplified URL format used to identify a specific company (tenant) in IOMAD before user login. It allows for pre-login branding and automatic user assignment during self-signup by passing company ID and shortcode as URL parameters. ```URL https:///login/login.php?id=&code= ``` ```URL https://demo.iomad.org/login/login.php?id=4&code=TC ``` -------------------------------- ### Simplified Tenant URL Structure for IOMAD Login Source: https://www.iomad.org/documentation/administration/URL/how-to-set-up-different-urls-per-tenant This snippet illustrates the simplified method for setting up a tenant-specific URL in IOMAD. By appending company ID and shortcode parameters to the login URL, the system can apply specific branding and automatically assign self-signing users to the correct company. ```URL https:///login/login.php?id=&code= Example: https://demo.iomad.org/login/login.php?id=4&code=TC ``` -------------------------------- ### Assigning IOMAD Capabilities for Reseller Role Source: https://www.iomad.org/documentation/documentation/multi-tenancy/parent-and-child-companies This snippet specifies the four essential IOMAD capabilities that must be granted to a custom 'Reseller' role within Moodle's system context. These capabilities empower reseller company managers to add child companies, split licenses, edit their company's licenses, and suspend companies. ```IOMAD Capabilities Capabilities to grant to Reseller role: - Add a child company (block/iomad_company_admin:company_add_child) - Split a license to a child company (block/iomad_company_admin:split_my_licenses) - Edit my company licenses (block/iomad_company_admin:edit_my_licenses) - Suspend a company (block/iomad_company_admin:suspendcompanies) ``` -------------------------------- ### IOMAD eCommerce Product Management Capabilities Source: https://www.iomad.org/documentation/documentation/ecommerce/manage-products-in-shop Defines the required capabilities (permissions) for various product management actions within the IOMAD eCommerce shop. These capabilities control user access to functions such as adding, editing, hiding, and deleting courses, as well as managing course templates. ```APIDOC Capabilities for IOMAD eCommerce Product Management: - block/iomad_commerce:add_course: To add a course to the shop - block/iomad_commerce:edit_course: To edit an existing course within the shop - block/iomad_commerce:hide_course: To hide a course with the shop - block/iomad_commerce:delete_course: To delete a course from the shop - block/iomad_commerce:manage_default: To manage course templates ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.