cancel
Showing results for 
Search instead for 
Did you mean: 

Is Share really a Tenant-Aware Interface?

eureka
Champ in-the-making
Champ in-the-making
Hi all,

in alfresco wiki http://wiki.alfresco.com/wiki/Multi-Tenancy#Tenant_Customisation, section "Tenant-Aware Interfaces", it's stated that Alfresco Share (since 3.2) belongs to the list of Tenant-Aware Interfaces.

Is it really true? To what extent?

Is it just limited to login and separation of contentstore separation? (which indeed is a prove of multi-tenant repository and not multi-tenant interface)

I would state Alfresco Share is really a tenant-aware interface if it supported some kind of per tenant configuration.
For example one would think he can upload and use a per tenant defined share-config-custom.xml, like you do with web-client-config-custom.xml. But that is not true. Am I wrong?

I would like to hear your opinions. Do you have any suggestion on how to make share load specific configuration per tenant?

Thanks in advance for any reply.

Angelo
6 REPLIES 6

mrogers
Star Contributor
Star Contributor
Of course share is tenant aware.    However as you have seen there are some configuration options that are not MT enabled.

MT is an area of the product which is evolving rapidly at the moment.

eureka
Champ in-the-making
Champ in-the-making
Hi mrgoers,

thanks for your reply. Could please give me an example of share tenant awareness, which is not, by proxy calling repository services, alfresco tenant awareness?

This is what I mean. For example

Login -> alfresco
Data dictionary, sites -> alfresco

It'always alfresco services, through your login information, that recognize your tenant membership and acts on this knowledge, serving you the right content.

Share is a UI. What makes a UI tenant aware? Customizations per tenant. How do you make this customizations?

Angelo

ddraper
World-Class Innovator
World-Class Innovator
Share is tenant aware in that it will render tenant specific data. Share is virtually stateless and all the data it displays comes from proxy requests to the repository (as you said). Share customizations however are not tenant aware - certainly not at the level of what you will typically configure in share-config-custom.xml.

Is there something specific that you'd like to do with the Share interface for different tenants?

Regards,
Dave

eureka
Champ in-the-making
Champ in-the-making
Hi Dave,

my issue is that I want to make some custom configuration to share-config-custom.xml, specific for tenant.

So I was hoping there would be a way to feed share with a share-config-custom.xml read from Data Dictionary, like it is possible for web-clent-config-custom.xml.

From what I can tell it's not possible now. Is it planned anytime soon? Is there a workaround?

Regards,
Angelo

kevinr
Star Contributor
Star Contributor
Hi Angelo,

What you describe (per tenant Share config and customisations) is not yet a feature, it has been requested and is therefore something we are going to be looking at for a future release.

I believe it is technically possible to do right now but it would require some java coding to do so. We have the ability to load data out of the repo in a singleton pattern on share startup (see EditionIntercetor.java) and it is also possible to lock and restart the configuration service based on new config. What we don't yet have is a per tenant configuration service in Share so that would need to be added. So we have several of the steps required to do this already done, but we are not quite there yet.

Cheers,

Kevin

eureka
Champ in-the-making
Champ in-the-making
Hi Kevin,

thanks for your reply. I will look into the code of EditionInterceptor.java for inspiration  Smiley Very Happy

Regards,

Angelo