Skip to main content
1-Visitor
October 12, 2020
Solved

Giving User permissions to single Mashups in Java Extension

  • October 12, 2020
  • 2 replies
  • 1150 views

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 

Best answer by PaiChung

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

PaiChung22-Sapphire IAnswer
22-Sapphire I
October 13, 2020

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

Support
October 27, 2020

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