Skip to content

kitzler-walli/CustomJSBundle

Repository files navigation

CustomJSBundle

A Kimai 2 plugin, which allows to edit custom JS code through an administration screen.

Installation

First clone it to your Kimai installation plugins directory:

cd /kimai/var/plugins/
git clone https://github.com/kitzler-walli/CustomJSBundle

And then rebuild the cache:

cd /kimai/
bin/console kimai:reload --env=prod

You could also download it as zip and upload the directory via FTP:

/kimai/var/plugins/
├── CustomJSBundle
│   ├── CustomJSBundle.php
|   └ ... more files and directories follow here ... 

Permissions

This bundle ships a new permission, which limit access to certain functionalities:

  • edit_custom_js - every use that owns this permission

By default, it is assigned to each user with the role ROLE_SUPER_ADMIN.

Read how to assign these permission to your user roles in the permission documentation.

Storage

This bundle stores the custom JS code in the file var/data/custom-js-bundle.js. Make sure its writable by your webserver and included in your backups.

Screenshot

Screenshots are available in the store page.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published