Base solution for your next web application

Activities of "hole7"

Hi Hikalkan,

In the Application/#/tenant/settings demo page, are you building it dynamically so that we don't modify code every time we're gonna add new setting?

Thanks

Question

Good evening everyone,

I'm working on user management scenario and having trouble when manage users and permissions with tenant.

I haven't had much experience with this stuff, so anyone please give me some advice!

Let's say, I'm a Host admin user (superadmin) and my site has 2 tenants - with two tenant admin user (admin1 and admin2).

So I have some questions for this stuff in the real world.

1/ Is the superadmin should(can) manage all host users and tenant users? 2/ If (1) is not, so, how can we change/set permissions for tenant admin to access some features? 3/ with module zero, could I show all system users if current logged in user is host user but when he/she change permissions for selected user, system can only show the appropriate permissions with editing user? I mean if editing user is another host user system will display host permissions for selecting otherwise if editing user is tenant user, system will only show tenant permissions.

Thanks everyone, Ho Le

Hi,

I'm confusing about LocalizableString class, that, why it's not implemented interface ILocalizableString?

Because, we're using ILocalizableString to define on setting for localization but when I'd like to get back the value I cannot use GetString of ILocalizationManager because it just accepts a parameter with type LocalizableString.

Please see image in attached. [http://pasteboard.co/2CB1iVcu.png])

Thanks Ho Le

Hi,

I'd like to subscribe to a general notification like 'NewUserCreated'

I know that firstly I (admin user) must subscribe to that notification. Then, when there is a new user created, I will receive a notification.

I can figure how to publish a notification in this case ( call Publish notification CreateUser function of UserService, for example)

But, I'm confusing where should I put the code for subscribe to that Notification?

Anyone please help me!

I saw from the document:

public class MyService : ITransientDependency { private readonly INotificationSubscriptionManager _notificationSubscriptionManager;

public MyService(INotificationSubscriptionManager notificationSubscriptionManager)
{
    _notificationSubscriptionManager = notificationSubscriptionManager;
}

//Subscribe to a general notification
public async Task Subscribe_SentFrendshipRequest(int? tenantId, long userId)
{
    await _notificationSubscriptionManager.SubscribeAsync(tenantId, userId, "SentFrendshipRequest");    
}

//Subscribe to an entity notification
public async Task Subscribe_CommentPhoto(int? tenantId, long userId, Guid photoId)
{
    await _notificationSubscriptionManager.SubscribeAsync(tenantId, userId, "CommentPhoto", new EntityIdentifier(typeof(Photo), photoId));   
}

}

But with my case I don't think of any service that will appropriate for a general subscription like that. And when should I call the Subscribe_SentFriendshipRequest, for example?

Thank you

Hi everyone,

Is there any people here had a problem when upgrade abp version 0.8.3?

Previous, I used abp 0.6.7 and it's working fine, but after I upgrade it to latest version (0.8.3) there is an error with AbpServiceProxies/GetAll as attached image.

[http://pasteboard.co/2fJRlIXP.png])

Could anyone help me?

Thanks & Regards, Ho Le

Hello,

Could anyone help me!

I'm trying to get CreatorUser of Comment Entity on Application service and bind it to Dto. I saw in the demo code of module-zero that in dto, we will declare a property CreatorUserName and config mapping for that dto and then in service we use .Include(). But it's not working.

Please see attached for more details. [http://pasteboard.co/1ZD86HW6.png])

Thanks & regards

Dear all!

I'm using Abp Zero and I want to show all Users along with his Roles (RoleName) but with the current design, I can just see UserRole (RoleId) in User entity (I'm using Include to get UserRole list), but, my problem need to get all Roles that User has been assigned. So, Can anyone help me to figure out how to select a list of role to go with user? I've search on internet for join with EF but couldn't find the answer.

Thanks

Showing 1 to 7 of 7 entries