This was an issue in the past that seems to be back in v9+. Can't find any open issues on it, but thought I'd check before opening a new one https://github.com/aspnetzero/aspnet-zero-core/issues/2531
Click on << icon on sidebar to collapse Hover over icon on sidebar Issue Sidebar does not auto expand Expected: Sidebar should expand
Makes it impossible to get to submenu without having to maximise sidebar first.
Many thanks
I can't get the claims I set in UserClaimsPrincipalFactory to work with Identity Server.
The claims set in
public override async Task<ClaimsPrincipal> CreateAsync(User user)
{
var claim = await base.CreateAsync(user);
...
}
works without issue for normal angular app, but not when I use the ConsoleApiClient. Nothing I tried worked, so not worth listing my futile efforts.
How do I add these claims to the Identity Server claims?
many thanks
Followed guidelines in article Custom Filters
Having difficulty with unit testing as the IPrincipalAccessor is always null, and even if it were to be injected the claims will never be added. Using the claims therefore seems the wrong way to do this - how should we implement to also allow for unit tests?
Really looking forward the pending webhook feature, as the timing is perfect for the automation/integration we need to implement in our solution.
Before I implement I thought I'd check if anyone has implemented any form on automation, and if they have any advice.
My general approach to allow other systems to perform actions on behalf of users will include:
Am I missing something obvious, particularly security wise? Any other suggestions?
Many thanks
Our application has different editions, features and feature dependent permissions. When a tenant on one edition performs an action that causes tenants on other editions to receive notifications (by design), the other tenants' role permissions gets corrupted.
As far as I can determine, if a user is not in the permission cache, the notification will load the permissions, but only a subset matching the permissions relevant to the tenant who sent the notification. If the user logs in he will then have no functionality and an admin needs to log in to reasign those permissions. Admin rights seem to remain unaffected as they are not feature/edition dependent and the subset still matches for them. Notifications will then again corrupt permissions.
I can also replicate this in my unit tests. A significant share of them fail, but they all pass by disabling publishing the notifications by commenting below code:
await _notificationPublisher.PublishAsync(AppNotificationNames.ProgrammeCreated, notificationData, excludedUserIds: new UserIdentifier[] { new UserIdentifier(excludeUserTenant, excludeUserId) }, tenantIds: parties);
I have not made any changes to the notifications.
I am still on 7.1, but haven't seen anything in the release notes, issues or forum to suggest that it is an issue anyone else has or that has been fixed since 7.1
Any suggestions? Many thanks
I sporadically see the menu and content overlapping and once it happens it gets stuck that way.
Attach a screenshots showing it in one of aspnet zero's component - users (so not related to my own components) The subheader is fine: The parent of both:
Refreshing the page fixes it, but clearly something odd with the layout.
Haven't found a way to replicate it on demand, but perhaps others have experienced the same issue
Would I be correct in assuming that cached items aren't tenancy safe, i.e. if one tenant loaded an entity into the cache, retrieving that entity can be done by all tenants?
E.g. if entity 1 belongs to tenant 1, and tenant 2 tries to load entity 1 from the database the tenant filter will block that request, but if entity1 is already stored in the entity cache created for that type of entity, there is no more tenantID filter and the entity can be retrieved from the cache by all tenants?
A simple workaround would be to append the tenant id to the key used, but that would mean not being able to use the EntityCache base classs?
Before I embark on my caching journey - could someone please confirm whether a entity cached property gets invalidated when the navigation properties change or only when the entity itself is updated or deleted? Searched the docs/support but couldn't confirm either way and don't want to implement based on the results of any potential experiments I can perform only Many thanks
Just upgraded to 6.8 and my modal components are now hidden by the overlay. Especially for nested components i.e. I have a main component that contains sub components, where the sub components that display the modal components now hide the modal under the overlay. Any suggestions/help please.
Once it happens it happens to all modals. Attach a screen shot for adding a user.