Hi,
You can add [DisableAuditing] attribute to Password field of UserEditDto class. See <a class="postlink" href="http://aspnetboilerplate.com/Pages/Documents/Audit-Logging#DocEnableDisableByAttrs">http://aspnetboilerplate.com/Pages/Docu ... bleByAttrs</a>. We will also add this, thanks for informing us. I have also created an issue in github <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/issues/384">https://github.com/aspnetzero/aspnet-zero/issues/384</a>
Hi,
You can only access settings defined by ABP or ABP Zero in javascript. Because ABP exposes it's settings to javascript client via this javascript include in _Layout.cshtml You have to send your setting definitions to client via result of an ActionResult or result of an ajax call.
<script src="~/AbpScripts/GetScripts" type="text/javascript"></script>
You should be able to access setting values in _Layout.cshtml like this.
@SettingManager.GetSettingValue("xxx")
, but user must be logged in. How do you try to access setting value in _Layout.cshtml ?
Hi,
Can you share your setting definition ?
Hi,
If you have access to IIS Manager, you can configure your app pool in it's advanced settings. I'm not sure but there must be something like idle timeout or recycling setting to do that.
Hi,
I'm not sure this is a good thing or not. If you really want to do this, you can create your own LdapAuthenticationSource, get user's roles from Active Directory and assign new roles to user. <a class="postlink" href="http://aspnetboilerplate.com/Pages/Documents/Zero/User-Management#ldapactive-directory">http://aspnetboilerplate.com/Pages/Docu ... -directory</a>
Of course, you need to sync/match roles in AD with your AspNet Zero application somehow.
Hi,
You can get the multiselect's value like this. $('#multipleSelect').val() which will give you an array of selected values.
If you want to call a controller action, you can simply use jQuery's ajax or ABP's ajax calls.
abp.ajax({
url: '/Controller/Action',
method: 'POST',
dataType:'application/json',
data: JSON.stringify({selectedValues: $('#multipleSelect').val()})
}).done(function(){
//do something here...
})
Hi,
Ldap is actually designed for single tenant apps in AspNet Zero template, so what you are asking is not possible by default. You can do it but it requires some changes.
You can add two feature to your application, lets call them "AbpLoginFeature" and "LdapLoginFeature" and you need to act according to those feature values of a tenant in the Login action of Account controller.
You also need to configure Ldap settings (AD server address, username and password etc..) for the tenants who has "LdapLoginFeature" enabled.
If you want to try this, we can always help you if you have any problems.
Hi,
You should use TenantNotificationInfo instead of TenantNotification.
If you want to completly remove/change Abp table prefix from all abp related tables, you can use modelBuilder.ChangeAbpTablePrefix method. See <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero/issues/165">https://github.com/aspnetboilerplate/mo ... issues/165</a>
You can not change the active directory password but it should still work if you use new password dor login.
Hi,
Thanks, I remember now :). This is not an error, we did it on purpose. Otherwise we need to query all tenant databases to find matching users for that social login.
If you are using different subdomain for each tenant, the you can find tenancyName according to current url before this line <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero-template/blob/d0745669097e6876ae641682f56ffc6eb256d0c9/src/AbpCompanyName.AbpProjectName.WebSpaAngular/Controllers/AccountController.cs#L334">https://github.com/aspnetboilerplate/mo ... er.cs#L334</a>
and use it as tenancyName. This might solve your problem.