
package org.tsugi;

/**
 * This is a class to provide access to the data for the logged-in user
 *
 * This data comes from the LTI launch from the LMS. 
 * If this is an anonymous launch the User will be null.
 */
public interface User {

    public final int LEARNER_ROLE = 0;
    public final int INSTRUCTOR_ROLE = 1000;
    public final int TENANT_ADMIN_ROLE = 5000;
    public final int ROOT_ADMIN_ROLE = 10000;

    /**
     * Get the launch associated with this object
     */
    public Launch getLaunch();

    /**
     * The integer primary key for this user in this instance of Tsugi.
     */
    public Long getId();

    /**
     * The user's email
     */
    public String getEmail();

    /**
     * The user's display name
     */
    public String getDisplayname();

    /**
     * Is the user a Mentor? (TBD)
     */
    public boolean isMentor();

    /**
     * Is the user an instructor?
     */
    public boolean isInstructor();

    /**
     * Is the user a Tenant Administrator?
     */
    public boolean isTenantAdmin();

    /**
     * Is the user a Tsugi-wide Administrator?
     */
    public boolean isRootAdmin();

}

@@ -312,19 +312,16 @@
 ROLE = 1
-000
 ;%0A    pu
@@ -359,9 +359,9 @@
 E = 
-5
+1
 000;

Change the instructor value to be the same as other impls