hi
Add '(single quote)
start and end of connection strings.
abp new OzApp -u mvc --connection-string 'Host=localhost;Port=5432;Database=OzApp;User ID=root;Password=1q2w3E*' -m none --separate-auth-server --separate-tenant-schema --database-provider ef --database-management-system PostgreSQL -csf --skip-migrations --skip-migrator --dont-run-install-libs --dont-run-bundling
[16:57:46 INF] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli
[16:57:54 INF] Creating your solution...
[16:57:54 INF] Using template: app
[16:57:54 INF] Solution name: OzApp
[16:57:54 INF] Output folder: /Users/maliming/Downloads/untitled folder/OzApp
[16:57:54 INF] Database provider: ef
[16:57:54 INF] UI framework: mvc
[16:57:54 INF] Theme: leptonx
[16:57:54 INF] Theme style: system
[16:57:54 INF] Mobile framework: none
[16:57:54 INF] Test Projects: Yes
[16:57:54 INF] Social Logins: Yes
[16:57:54 INF] Tiered: Yes
[16:57:54 INF] Public website: No
[16:57:54 INF] Run install-libs command: No
[16:57:54 INF] Multi Tenancy: Yes
[16:57:54 INF] Sample Crud Page: No
[16:57:54 INF] Kubernetes configuration: Yes
[16:57:54 INF] Separated tenant schema: Yes
[16:57:54 INF] Database management system: postgresql
[16:57:54 INF] Create initial migrations: No
[16:57:54 INF] Run database migrator: No
[16:57:54 INF] Connection string: Host=localhost;Port=5432;Database=OzApp;User ID=root;Password=1q2w3E*
hi
You can add your logic to filter the permission definitions(permissionNames
).
var permissionNames = (await PermissionDefinitionManager.GetPermissionsAsync())
.Where(p => p.MultiTenancySide.HasFlag(multiTenancySide))
.Where(p => !p.Providers.Any() || p.Providers.Contains(RolePermissionValueProvider.ProviderName))
.Select(p => p.Name)
.ToArray();
hi
Add a new api endpoint to change the setting value.
hi
You can add a IDataSeedContributor
class and get all permissions, then seeder for a specific role(Line 37
).
https://github.com/abpframework/abp/blob/dev/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain/Volo/Abp/PermissionManagement/PermissionDataSeedContributor.cs#L10-L41
ABP studio is keep giving errors:
Can you try to upgrade to the latest studio and reopen again?
Thanks.
hi
volo.abp.studio.cli 0.9.15
works for me.
> dotnet tool list -g
Package Id Version Commands
-------------------------------------------------------
volo.abp.studio.cli 0.9.15 abp
> abp get-source Volo.Abp.IdentityServer --version 8.2.3
[12:56:44 INF] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli
[12:56:44 INF] Downloading source code of Volo.Abp.IdentityServer (v8.2.3)
[12:56:44 INF] Output folder: /Users/maliming/Downloads/123
[12:56:44 INF] 'Volo.Abp.IdentityServer' has been successfully downloaded to '123'
hi
I have tested, but I am unable to reproduce.
See my test videos(two): https://we.tl/t-Sk902jj9Qh and https://we.tl/t-G7hc8aBHpN
hi
Thanks. I will check the OtisEd.Artifact.Angular
project.
hi
Can you share the source code of your Program.cs
?