#8 Licence Jackdaw across all system

Issue #686 resolved
Emil Reisser-Weston created an issue

When adding a Jackdaw Cloud OR a Administrator you should be able to set the Jackdaw Cloud role type for that user (currently this is limited to the Jackdaw Cloud user.)

Capture.JPG

Can we also set the maximum Jackdaw Cloud role type (listed in the order appearing in the dropdown lis box above) in this list in the lms.config file? We need this to limit access to Jackdaw for clients who only are allowed the CMS version.

Comments (11)

  1. Lauris Mikulans

    Show Jackdaw Cloud role type drop-down for Administrator also.
    Apply logic from Jackdaw Cloud restrictions to Administrator in Administrator interface.

  2. Lauris Mikulans

    Will add configuration option:

        var $jackdawHideType = ['CMS']; // Exclude those Jackdaw roles from drop-down, selection
    

    This will specify what types of jackdaw roles to hide.
    All types are: CMS, Free, Solo, Pro, Distributor, Team.

  3. Lauris Mikulans

    Jackdaw types:

    /*
        Can edit any course
        Cannot add a course
        Add unlimited number of such users in system
    */
    $jackdaw_type['CMS'] = [
        'name' => 'CMS',
        'editAll' => true,
        'addLimit' => true,
        'add' => 0,
        'upload' => false,
        'uploadLimit' => 0,
        'users' => 1
    ];
    
    /*
        Can edit any course
        Can add only one course
        Cannot upload images/videos etc
        Add unlimited number of such users in system
    */
    $jackdaw_type['Free'] = [
        'name' => 'Free',
        'editAll' => true,
        'addLimit' => true,
        'add' => 1,
        'upload' => false,
        'uploadLimit' => 0,
        'users' => 1
    ];
    
    /*
        Can edit any course
        Can add up to 3 courses
        Cannot upload images/videos etc
        Add only one such users in system
    */
    $jackdaw_type['Solo'] = [
        'name' => 'Solo',
        'editAll' => true,
        'addLimit' => true,
        'add' => 3,
        'upload' => false,
        'uploadLimit' => 500,
        'users' => 1
    ];
    
    /*
        Can edit any course
        Can add up to 10 courses
        Add only one such users in system
    */
    $jackdaw_type['Pro'] = [
        'name' => 'Pro',
        'editAll' => true,
        'addLimit' => true,
        'add' => 10,
        'upload' => true,
        'uploadLimit' => 1000,
        'users' => 1
    ];
    
    /*
    Distributor!
    */
    
    $jackdaw_type['Distributor'] = [
        'name' => 'Distributor',
        'editAll' => true,
        'addLimit' => false,
        'add' => 10,
        'upload' => true,
        'uploadLimit' => 5000,
        'users' => 1
    ];
    
    /*
        Can edit any course
        Can add unlimited courses
        Add Add up to 4 such users in system
    */
    $jackdaw_type['Team'] = [
        'name' => 'Team',
        'editAll' => true,
        'addLimit' => false,
        'add' => 100,
        'upload' => true,
        'uploadLimit' => 5000,
        'users' => 4
    ];
    
    $jackdaw_type['Unlimited'] = [
        'name' => 'Unlimited',
        'editAll' => true,
        'addLimit' => false,
        'add' => 10000,
        'upload' => true,
        'uploadLimit' => 5000,
        'users' => 1
    ];
    
  4. Emil Reisser-Weston reporter

    CMS Can edit any e-learning in the system but cannot change the course structure - i.e. cannot add a templated screen. I appreciate that this may need to get Kaspars involved but the best thing to do would be to activate an error message if the new template button is pressed when a CMS version ...

    Capture.JPG

    Error message says "You are currently trying to change the course structure - you will need a full Jackdaw licence to do this, please contact e-Learning WMB for details - sales@e-learningwmb.com."

    Free Free allows the user to create a single course. I guess each course should be assigned to the creators account (perhaps add a "createdby" field) - if there is more than one course attributed to the users account (count enabled and disabled courses) then a message appears on hitting these buttons ...

    Capture.JPG

    or this link ...

    Capture.JPG

    Similar restrictions apply to the Jackdaw user interface when pressing here ..

    Capture.JPG

    Solo is as above with 3 courses and Pro with 10 (Distributor is also with 10).

    Team is set at 100.

    Error message should say if over the limit "You have reached your limit of the number of courses you can add, please contact e-Learning WMB to increase the size of the licence - sales@e-learningwmb.com."

  5. Lauris Mikulans

    Currently there is already "created_by" field, that is used to determine what user created resource.
    For Jackdaw, will use "jackdaw_resource" with combination of created_by. When resource is installed using repository, "created_by" saves the user who installed resource.

    Only CMS can edit all e-learning resources. Any other jackdaw type can edit only resources added by themselves.
    Example, if there is Admin, who can install resources using repository, if he is Pro type, he can not edit them, only ones created using Jackdaw.

  6. Lauris Mikulans

    Added new structure permission "misc-permissions-jackdaw-instance" with "Edit".
    Roles that are supposed to edit/resources using jackdaw editor need this.

  7. Emil Reisser-Weston reporter

    When logging in as a Jackdaw User I get a 403 error.

    On trying to assign the default permisisons to the Learner type (shared with Jackdaw user) I get this error ...

    Capture.JPG

  8. Log in to comment