Activities of "muhammedaltug"

Hello,

You can change collapse animation by replacing the abp-routes component. You can follow these steps for abp-routes component replacement.

Hello,

Can you check your project files' permission settings ? In this case needed permission is Read & Execute.

Hello,

I created a new app with app-pro template and version 4.1.0.rc-2 using abp cli. Then i was able to run the angular application successfully. There is no problem at creating application with abp cli.

Can you try removing node_modules directory and reinstall packages ? Will you observe same error when will you create a new angular application and run this angular application in your Abp-Bms folder?

Hello,

Is there any progress on your issue?

Hello,

I made gist for Requirement 1, Requirement 2, In User/Role table action button can we have any option called view where my user can see same page as edit page but all the fields should be disabled, user cannot edit or save anything. and In Edit page, my user should not be able to change Roles, I mean I need to disabled all Assignable roles checkboxes.. You can look at this link

The table in which we get user details in Administrator -> Identity -> User screen, currently we can see Action , UserName , EmailAddress and PhoneNumber. I want Action, UserName, RoleName of User, EmailAddress.:

You can look this document how works entity prop extenstions. You can use dropByIndex method to delete unwanted column.

In the permission tree can we disable any permission check box as per roles, for example I have a role called Supplier and SupplierAdmin, So while my SupplierAdmin is creating any user of role Supplier he should be able to see all permission but few check box should be disabled, so that he cannot check that checkbox even if he wants to.:

You need to replace PermissionManagementComponent and change permission checkbox disabled attribute logic. You can look this document.

While Creating any user we get password option, Is there any way where we hide that passowrd field and set default password for created user and when the user log's in for first time he should be asked to change the password.:

1- Create new field in on user table ShouldChangePassword default value equals to false. 2- When the new user log in check if this user have field ShouldChangePassword is true. 3- If the user should change password, redirect him to the Change Password Page. 4- When he sets his new password, set ShouldChangePassword to false. Redirect him to the login page.

Can we use anything other or you can say customised alert message for UserFriendlyException warning box and on UI Information box based on fields for UI validation on user/role pages.:

Can you give more details or screenshots about this?

Hello

There is no class like UserFriendlyException for warning and info messages.You can implement this feature with steps following - Add fields like messageType and message to response. - Make an interceptor in angular side - If the message has message and messageType fields show messages via Confirmation Popup

You can add confirmation class definition in your style.scss file for change the confirmation popup position or other properties

If you replaced user component with follow this gist You can hide organization unit tab with this way. Or you can hide with css style

You can read this section for disable role checkbox

  1. Yes you can remove this fields without replace the component. ABP components use Extension system to generate the data table, forms. You can look Dynamic form extensions document. password and username fields required in backend. You should download source code and modify dto and entity classes

  2. If you want change part of UserComponent's template or change behavior of UserComponent's methods. You should replace component. You can extend UserComponent class after replace

  3. You can override save method of UsersComponent after replace. Or you can listen CreateUser action result like below. For more information look NGXS Action Handlers document.

// app.component.ts
import { Component } from '@angular/core';
import { Router } from '@angular/router';
import { CreateUser } from '@volo/abp.ng.identity';
import { Actions, ofActionSuccessful } from '@ngxs/store';
@Component(/*Component Metadata*/)
export class AppComponent {
    
    constructor(
        private actions: Actions,
        private router: Router
    ){
        this.listenCreateUser()
    }
    
    listenCreateUser() {
        this.actions.pipe(ofActionSuccessful(CreateUser)).subscribe(() => {
           this.router.navigate(['/']);
        });
    }
    
}

Hello,

We fixed different language problem between angular application and logout screen in 4.3.3 version.

You can use /Abp/Languages/Switch endpoint for pass language info from angular app to mvc. You can get current language info from SessionStateService's getLanguage method.

Example Usage of /Abp/Languages/Switch baseUrl/Abp/Languages/Switch?culture={language}&uiCulture={language}&returnUrl=/bloggingModuleLink

Hello,

You can pass master's information (like identifier) to detail component with angular router. You can resolve master's information in detail component with ActivatedRoute. For more information please check the Angular Router Documentation

Hello,

Sorry for late response.

I can reproduce this error. I will inform you when we fix this problem.

There is a solution you can apply by the way with steps following:

  • Inject ChangeDetectorRef in your component.
  • Call detectChangesmethod of ChangeDetectorRef after remove/add.
Zobrazeno od 11 do 20 z celkem 254 záznamů
Made with ❤️ on ABP v8.2.0-preview Updated on března 25, 2024, 15:11