ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

9810 "Password Dialog" - Make available for SAAS

Open xtiche opened this issue 3 years ago • 2 comments

Please remove "Scope" attribute from all methods from page 9810 "Password Dialog"

page 9810 "Password Dialog"

 /// <summary>
    /// Gets the password value typed on the page.
    /// </summary>
    /// <returns>The password value typed on the page.</returns>
    [Scope('OnPrem')]
    procedure GetPasswordValue(): Text
    begin
        if ValidPassword then
            exit(PasswordValue);

        exit('');
    end;

    /// <summary>
    /// Gets the old password value typed on the page.
    /// </summary>
    /// <returns>The old password typed on the page.</returns>
    [Scope('OnPrem')]
    procedure GetOldPasswordValue(): Text
    begin
        if ValidPassword then
            exit(OldPasswordValue);

        exit('');
    end;

    /// <summary>
    /// Enables the Change password mode, it makes the old password field on the page visible.
    /// </summary>
    [Scope('OnPrem')]
    procedure EnableChangePassword()
    begin
        ShowOldPassword := true;
    end;

    /// <summary>
    /// Disables any password validation.
    /// </summary>
    [Scope('OnPrem')]
    procedure DisablePasswordValidation()
    begin
        RequiresPasswordValidation := false;
    end;

    /// <summary>
    /// Disables any password confirmation, it makes the Confirm Password field on the page hidden.
    /// </summary>
    [Scope('OnPrem')]
    procedure DisablePasswordConfirmation()
    begin
        RequiresPasswordConfirmation := false;
    end;

xtiche avatar Mar 15 '23 10:03 xtiche

@xitche is there anything missing in the wrapper codeunit 9810 "Password Dialog Management" https://github.com/microsoft/ALAppExtensions/blob/main/Modules/System/Password/src/PasswordDialogManagement.Codeunit.al

Why do you need to use this page directly?

pri-kise avatar Mar 15 '23 18:03 pri-kise

Sorry, we cannot do that due to security reasons

AlexanderYakunin avatar Mar 16 '23 16:03 AlexanderYakunin