Hey guys,
Have to say, love the platform! I have been building enterprise applications half my life, especially frameworks, and this one has been very helpful. Will be using it in the future for every product I build! =)
So, I have a question. Currently I am building a product where we need to be able to have features at a level other than just tenant. In fact we have 3 main hierarchical layers (may even have a fourth). Is it possible with the current version of module Abp + Zero to accommodate this need with custom code? To be more specific we want to be able to have features turn on/off for other entities in the system that are under a specific tentant (not just tenants). This is definitely not at the user level as each of these levels may have many users underneath.
Any guidance is really appreciated!
Thanks in advance...
5 Answer(s)
-
0
Thank you. We are glad that you liked AspNet Zero.
I read a few times but could not understand exactly, sorry. Can you write some more detail, maybe an example use case?
-
0
Sorry for late response, and I will try to clear up my question.
Basically I need to change the settings + features to work with an additional layer to TenantId. In our application we have an Entity called "Site" which you can add in our system. You can have multiple Sites for each Tenant. We want to be able to have settings & features changeable for each Site. Basically we need to have a SiteId property on the setting, and feature entities so each Site can be configurable.
Additionally, it would be great if we could also do this on localized string resources as well if possible. Meaning each Site could have localized strings overridden if specified.
Does this make sense?
-
0
Hi,
This is possible but , there is not an easy way of doing this. I know this is not good but, you need to add Abp.Zero's source code to your project and modify necessary places in order to do it.
If you decide to do it, you can ask for help on the way.
-
0
Thanks for your reply.
I think I understand what you are saying. I was hoping not to do that. If thats the only way to do it at the moment, it would be ideal if I could make the minimum changes needed, and add overridable classes and methods in Abp.Zero, and then in my code override where needed. By doing this though, it will make upgrading to the latest Abp.Zero very difficult. However, I have been looking at the source and doesn't seem to difficult, but not 100% sure. I will see what I can do, and let you know what I come up with. I appreciate your help!
Is this something that could possibly be added into the Abp.Zero in the future? Some way to support additional layers would be great! =)
Thanks
-
0
Hi,
We started to get this request, adding additional layers beteween tenant and host, so often lately :). Actually it's in our long term plan but we dont have an estimated date for that yet. We also think that it is a great feature.