authorization assignment with Java API

Veronika Lackner shared this question 2 years ago
Answered

Hi,

we have read in your wiki how to use some Java API for creating users or to delete a user group. We also looked for an API to create an authorization assignment but we could not find one.

Is there any possibility to create an folder and to assign this to a user?

Or is there an alternative to using the API to Control direct view permissions?


Thank you for your help.

Regards,

Veronika

Comments (1)

photo
1

Hello Veronika,

Thanks for reaching out with your questions.

At present, the only manner in which content folders and permissions can be configured is by logging in to Yellowfin directly.

That being said, we do have API calls that allow you to add users to groups. If you were to have existing content folders with permissions applied to User Groups, you would then be able to dynamically add or remove users to these existing groups to effectively manipulate the permissions. This would be done via the 'INCLUDEUSERINGROUP' or 'EXCLUDEUSERINGROUP' calls, as shown in our Wiki under 'Group & Role Administration'.

Does this help?

Thanks,

Ryan

photo
1

Hi Ryan,

Thank you for your help.

This proposal really helps us a lot.


Regards,

Veronika

photo
1

Hi Veronika,

Thanks for your reply. I'm glad this suggestion was helpful. I'll go ahead and mark this as answered, however if you have any further questions or issues don't hesitate to let us know!

Thanks,

Ryan

photo