Base solution for your next web application

Activities of "RenuSolutions"

Answer

Yes we want manager role have all permissions of "Team lead/Supervisor" and "User" roles and TeamLeader/Supervisor have all permissions of users like that

Answer

Hi @RenuSolutions

Do you mean the default roles ? If so, you can add new roles according to your needs by using the Roles page. If not, could you explain your scenario a bit more ?

Hi, In our application we need 4 levels of roles like Admin--> Manager --> Team lead/Supervisor --> User. how to achieve this? can u explain?

Answer

Hi, Tried with admin mode also still not working thanks.

Hi,

Its working thanks..

Hi,

Please mention the file to configure the SMTP settings.

Thanks AnyCollect

Hi,

Please find the below logs.

ERROR 2022-07-27 11:55:43,888 [orker] Mvc.ExceptionHandling.AbpExceptionFilter - An attempt was made to access a socket in a way forbidden by its access permissions. System.Net.Sockets.SocketException (10013): An attempt was made to access a socket in a way forbidden by its access permissions. at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Threading.Tasks.ValueTask.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.TaskToApm.End(IAsyncResult asyncResult) at MailKit.Net.SocketUtils.ConnectAsync(String host, Int32 port, IPEndPoint localEndPoint, Boolean doAsync, CancellationToken cancellationToken) at MailKit.Net.SocketUtils.ConnectAsync(String host, Int32 port, IPEndPoint localEndPoint, Int32 timeout, Boolean doAsync, CancellationToken cancellationToken) at MailKit.MailService.ConnectNetwork(String host, Int32 port, Boolean doAsync, CancellationToken cancellationToken) at MailKit.Net.Smtp.SmtpClient.ConnectAsync(String host, Int32 port, SecureSocketOptions options, Boolean doAsync, CancellationToken cancellationToken) at MailKit.Net.Smtp.SmtpClient.Connect(String host, Int32 port, SecureSocketOptions options, CancellationToken cancellationToken) at Abp.MailKit.DefaultMailKitSmtpBuilder.ConfigureClient(SmtpClient client) at AnyCollect.Net.Emailing.AnyCollectMailKitSmtpBuilder.ConfigureClient(SmtpClient client) in C:\Users\Dell\Documents\GitHub\AnyCollect_WEB\aspnet-core\src\AnyCollect.Core\Net\Emailing\AnyCollectMailKitSmtpBuilder.cs:line 19 at Abp.MailKit.DefaultMailKitSmtpBuilder.Build() at Abp.MailKit.MailKitEmailSender.BuildSmtpClient() at Abp.MailKit.MailKitEmailSender.SendEmailAsync(MailMessage mail) at Abp.Net.Mail.EmailSenderBase.SendAsync(MailMessage mail, Boolean normalize) at AnyCollect.Authorization.Users.UserEmailer.ReplaceBodyAndSend(String emailAddress, String subject, StringBuilder emailTemplate, StringBuilder mailMessage) in C:\Users\Dell\Documents\GitHub\AnyCollect_WEB\aspnet-core\src\AnyCollect.Core\Authorization\Users\UserEmailer.cs:line 360 at AnyCollect.Authorization.Users.UserEmailer.<>c__DisplayClass12_0.<<SendEmailActivationLinkAsync>b__0>d.MoveNext() in C:\Users\Dell\Documents\GitHub\AnyCollect_WEB\aspnet-core\src\AnyCollect.Core\Authorization\Users\UserEmailer.cs:line 124 --- End of stack trace from previous location --- at Abp.Domain.Uow.UnitOfWorkManagerExtensions.WithUnitOfWorkAsync(IUnitOfWorkManager manager, Func1 action, UnitOfWorkOptions options) at AnyCollect.Authorization.Users.UserEmailer.SendEmailActivationLinkAsync(User user, String link, String plainPassword) in C:\Users\Dell\Documents\GitHub\AnyCollect_WEB\aspnet-core\src\AnyCollect.Core\Authorization\Users\UserEmailer.cs:line 78 at AnyCollect.MultiTenancy.TenantManager.CreateWithAdminUserAsync(String tenancyName, String name, String adminPassword, String adminEmailAddress, String connectionString, Boolean isActive, Nullable1 editionId, Boolean shouldChangePasswordOnNextLogin, Boolean sendActivationEmail, Nullable1 subscriptionEndDate, Boolean isInTrialPeriod, String emailActivationLink) in C:\Users\Dell\Documents\GitHub\AnyCollect_WEB\aspnet-core\src\AnyCollect.Core\MultiTenancy\TenantManager.cs:line 176 at AnyCollect.MultiTenancy.TenantAppService.CreateTenant(CreateTenantInput input) in C:\Users\Dell\Documents\GitHub\AnyCollect_WEB\aspnet-core\src\AnyCollect.Application\MultiTenancy\TenantAppService.cs:line 59 at lambda_method3098(Closure , Object ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.&lt;InvokeActionMethodAsync&gt;g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)

Showing 1 to 6 of 6 entries