Base solution for your next web application
Open Closed

Some doubts about Permissions #2064


User avatar
0
benjaminrivero created

Hi All, Hello @hikalkan

First of all, this framework is amazing, I have some experience with ASP .NET MVC, jQuery, Ajax and that Stuff, but Angular is great and the way that AspnetBoilerplate is build is awesome (I learn a lot with it, conceptual and practical things, right now I can create entities, services, dto's, SPA with Angular and connect that entities thanks to the WebApi, etc.).

I am stuck in one thing, please someone can clarify me

I am reading: <a class="postlink" href="https://www.aspnetzero.com/Documents/Developing-Step-By-Step#authorization-for-phone-book">https://www.aspnetzero.com/Documents/De ... phone-book</a>

The part of permissions, can someone explain, why permissions are not dynamic (like roles, tenants)? I mean why are declared on the code, and there is no interface for create them. (I create a demo on aspnetzero site and see the permissions available but can't find the way for create new permissions, all are declared on code?) Maybe is something conceptual... :?

Also, what are exactly are Organization Units, some simple example would be great. :roll:

thanks in advance, with the knowledge I am planning to write a step by step tutorial of this framework :mrgreen: :!:


2 Answer(s)
  • User Avatar
    0
    nikko1337 created

    up

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You can see the answer for yur permission question here <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/1477#issuecomment-256317959">https://github.com/aspnetboilerplate/as ... -256317959</a>.

    For organization units you can see it's documentation here <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Zero/Organization-Units">http://www.aspnetboilerplate.com/Pages/ ... tion-Units</a>.

    As an example you can think the software development teams in a company

    • Comapny X ----Software Development -------- Web Development Team -------- Core Team -------- R&D Team