I am trying to read and update the Permissions for a User Group, which I
believe are "Settings", within a REST API.  The only example I have seen
uses

    group.inherhitSettingsForEditing(BeanWithSettings bean); (sic)

to get a copy of all the settings, but this was in some web page code
that had a getBean() available.  Does anyone know how I can get access
to a bean within a Restlet resource?  (I admit I know beans about
beans).

I have also tried accessing a single permission with the only settings
path I could find

 
group.getSettingValue(PermissionName.SUBSCRIBE_TO_PRESENCE.getPath());

but that seemed to return an empty string (same with using
getSettingTypedValue(), which was always false).  In the end I need to
be able to get every setting, so unless I can get the paths from
somewhere (do not seem to be in the Permissions themselves) I figure I
will still need to get inherhitSettingsForEditing working.  Or maybe
someone can suggest a different way to edit permissions on a Group?

Thanks

D. Chang

_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to