Feature Wiki

Information about planned and released features

Tabs

Add ex/import options to roletemplates

If you need any help in filling out this wiki page, please visit our ILIAS Community FAQ. And please complete the metadata information in the right column after having created the page.

1 Initial Problem

Currently roles can be ex/imported, but role templates lack this funcionality. This is is annoying if e.g. you prepare a role template in a test system, configure all necessary permissions, test the efects and then want to transfer this template to a production system. Other scenarios are multiple ILIAS instances which should use the samte templates. Users have to

  • transfer the permission settings of a template manually (which is annoying and prone to errors) or
  • use workarounds like
    • create a role from the template
    • export the role
    • extract parts of the permissions-xml from the export
    • insert the permissions to a didactic template xml
    • import the didactic template
    • remove the didactic template

to transfer a role template from one system to another

2 Conceptual Summary

like roles, role templates should have a functionality to ex/import their settings

3 User Interface Modifications

3.1
  • List of Affected Views

Adminsitration -> Roles -> RoleTemplateGUI

Administration-> Roles ->RoleFolderGUI

3.2 User Interface Details

The Role Template GUI needs a new Tab for Exports, same functionality like for roles

The Role Folder GUI needs an additional Button to import role templates (alternatively, the role import could be enabled to imort role templates, too and relabled accordingly)

3.3 New User Interface Concepts

No new UI Concepts

3.4 Accessibility Implications

No new Accessibility Implications

4 Additional Information

4.1 Involved Authorities

If this request is related to multiple components, please list both authorities for all related components.

4.2 Technical Aspects

{ Necessary technical information have to be provided here, e.g. dependencies on other ILIAS components, necessary modifications in general services/architecture, potential security or performance issues. }

4.3 Privacy

No personal data affected

4.4 Security

Like for roles, exports of permissions could reveal improperly set permissions. Since this behaviour is present for roles, there should be no new security implications.

When ex/importing role templates, permissions of the current user must be checked (like with roles)

4.5 Contact

Person to be contacted in case of questions about the feature or for funding offers:  {Please add related profile link of this person}

4.6 Funding

Funding status and funding parties are listed in the block 'Status of Feature' in the right column of this page.

If you are interested to give funding for this feature, please get into contact with the person mentioned above as 'Contact'.

5 Discussion

6 Implementation

Feature has been implemented by {Please add related profile link of this person}

6.1 Description and Screenshots

{ Description of the final implementation and screenshots if possible. }

6.2 Test Cases

Test cases completed at {date} by {user}

  • {Test case number linked to Testrail} : {test case title}

6.3 Privacy

Information in privacy.md of component: updated at {date} by {user} | no change required

6.4 Approval

Approved at {date} by {user}.

Last edited: 14. Apr 2025, 15:27, Jackisch, Ingo [jackisch]