Activities of "Patrick"

Hi,

Sorry, but I can't build the projects

Can this be done over a teams call?

I think this might have something to do with your solution structure, can you share a sample project that reproduces the problem, I'll check it out. thanks My email is shiwei.liang@volosoft.com

Because of the file types it wont send

I think this might have something to do with your solution structure, can you share a sample project that reproduces the problem, I'll check it out. thanks My email is shiwei.liang@volosoft.com

Sample sent to your email.

This is my test code:

public class QaPermissionDefinitionProvider : PermissionDefinitionProvider 
{ 
    public override void Define(IPermissionDefinitionContext context) 
    { 
        var test = context.AddGroup("TestGroup"); 
         
        test.AddPermission("TestPermission", new FixedLocalizableString("TestPermission")).AddChild("TestChildPermission", new FixedLocalizableString("TestChildPermission")); 
    } 
 
    private static LocalizableString L(string name) 
    { 
        return LocalizableString.Create<QaResource>(name); 
    } 
} 

And you can open the Swagger page to test the API:

Thank you for the response. My permissions does show up in the swagger api as you illustrated, but not in the admin ui.

If this is a version issue, how can i use the abp suite command to create an admin project with a specific abp version?

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, and please first use the search on the homepage. Provide us with the following info:

  • ABP Framework version:Api 7.3.3 / Admin Portal 8.0.4
  • UI Type: MVC
  • Database System: EF Core / PostgreSQL
  • Tiered (for MVC) or Auth Server Separated (for Angular): No
  • Exception message and full stack trace: No Exception
  • Steps to reproduce the issue:
  •                         1. Create a class that extends PermissionDefinitionProvider in the Api 7.3.3 project
    
  •                         2. Add a Group to the context after which a permission was added then finally a child was added (see image "provider" attached). 
    
  •                         3. All this data is shown in the database, however, upon viewing the admin UI this permission grouping is not present.
    

I am asking for your assistance in figuring out what I am missing.

Showing 1 to 5 of 5 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11