Skip to main content
Oct 12, 2020 3:29 PM UTC
Solved

Giving User permissions to single Mashups in Java Extension

Dear devs,

 

While it is clear to me how to give permissions for the Mashups colletion:

 

 

cs.AddCollectionVisibilityPermission("Mashups", org.getName(), "Organization");

 

 

I don't quite understand how can I give permissions to the single Mashup, as a corresponding class doesn't seem to exist in the SDK.

 

Thanks and best regards,

Federico 

PaiChungAnswer
Oct 13, 2020 2:28 PM UTC

First of all I am not familiar with the classes exposed in the Java Extension, obviously in Composer and in the OOTB Composer services you are able to do this.

But if this is not exposed at all, then unfortunately I think the only way would be to do it after your extension is installed

2 replies

PaiChungAnswer
Oct 13, 2020 2:28 PM UTC

First of all I am not familiar with the classes exposed in the Java Extension, obviously in Composer and in the OOTB Composer services you are able to do this.

But if this is not exposed at all, then unfortunately I think the only way would be to do it after your extension is installed

Oct 27, 2020 12:29 PM UTC

Hi @Raccone.

 

If you feel the previous response answered your question, please mark it as the Accepted Solution for the benefit of others with the same question.

 

Thank you for your participation in our community!

 

Regards.

 

--Sharon