Class Authorizations

Constructors

  • Parameters

    • data: {
          AvecDiscussion?: boolean;
          AvecDiscussionAvancee?: boolean;
          AvecDiscussionEleves?: boolean;
          AvecDiscussionParents?: boolean;
          AvecDiscussionPersonnels?: boolean;
          AvecDiscussionProfesseurs?: boolean;
          autoriserImpression: boolean;
          compte: {
              avecInformationsPersonnelles: boolean;
              avecSaisieMotDePasse: boolean;
          };
          consulterDonneesAdministrativesAutresEleves: boolean;
          cours: {
              domaineConsultationEDT: {
                  V: string;
                  _T: 8;
              };
              domaineModificationCours: {
                  V: string;
                  _T: 8;
              };
              masquerPartiesDeClasse: boolean;
          };
          discussionInterdit?: boolean;
          incidents: unknown;
          intendance: unknown;
          services: unknown;
          tailleMaxDocJointEtablissement: number;
          tailleMaxRenduTafEleve: number;
      }
      • Optional AvecDiscussion?: boolean

        Whether the user is allowed to read discussions or messages.

      • Optional AvecDiscussionAvancee?: boolean

        Whether the user is allowed to send HTML through discussions. Otherwise the API should send plain text : if not checked properly, an empty message will be sent.

      • Optional AvecDiscussionEleves?: boolean

        Is allowed to create discussions with students ?

        Available

        Teacher

      • Optional AvecDiscussionParents?: boolean

        Is allowed to create discussions with students' parents ?

        Available

        Teacher

      • Optional AvecDiscussionPersonnels?: boolean

        Is allowed to create discussions with staff ?

        Available

        Student | Teacher

      • Optional AvecDiscussionProfesseurs?: boolean

        Is allowed to create discussions with teachers ?

        Available

        Student | Teacher

      • autoriserImpression: boolean
      • compte: {
            avecInformationsPersonnelles: boolean;
            avecSaisieMotDePasse: boolean;
        }
        • avecInformationsPersonnelles: boolean
        • avecSaisieMotDePasse: boolean
      • consulterDonneesAdministrativesAutresEleves: boolean
      • cours: {
            domaineConsultationEDT: {
                V: string;
                _T: 8;
            };
            domaineModificationCours: {
                V: string;
                _T: 8;
            };
            masquerPartiesDeClasse: boolean;
        }
        • domaineConsultationEDT: {
              V: string;
              _T: 8;
          }
          • V: string
          • _T: 8
        • domaineModificationCours: {
              V: string;
              _T: 8;
          }
          • V: string
          • _T: 8
        • masquerPartiesDeClasse: boolean
      • Optional discussionInterdit?: boolean

        Whether the user is disallowed to create discussions or messages.

      • incidents: unknown
      • intendance: unknown
      • services: unknown
      • tailleMaxDocJointEtablissement: number
      • tailleMaxRenduTafEleve: number

    Returns Authorizations

Properties

#canDiscuss: boolean
#canDiscussWithParents: boolean
#canDiscussWithStaff: boolean
#canDiscussWithStudents: boolean
#canDiscussWithTeachers: boolean
#canReadDiscussions: boolean
#hasAdvancedDiscussionEditor: boolean
#maxHomeworkFileUploadSize: number

Accessors

  • get canDiscuss(): boolean
  • Whether the user is allowed to create messages in discussions.

    Returns boolean

  • get canDiscussWithParents(): boolean
  • Whether the user is allowed to discuss with parents.

    Returns boolean

  • get canDiscussWithStaff(): boolean
  • Whether the user is allowed to discuss with staff.

    Returns boolean

  • get canDiscussWithStudents(): boolean
  • Whether the user is allowed to discuss with students.

    Returns boolean

  • get canDiscussWithTeachers(): boolean
  • Whether the user is allowed to discuss with teachers.

    Returns boolean

  • get canReadDiscussions(): boolean
  • Whether the user is allowed to read discussions.

    Returns boolean

  • get hasAdvancedDiscussionEditor(): boolean
  • Whether the user is allowed to send HTML through discussions. Otherwise the user should send plain text.

    Returns boolean

  • get maxHomeworkFileUploadSize(): number
  • The maximum file size allowed for homework uploads.

    Returns number

    Example

    4194304 // for 4MB.