In Windchill 10 M010~M030 ,I try to check constraints for WTPart and WTDocument in some page by LWC API.
com.ptc.core.lwc.common.view.TypeDefinitionReadView view= com.ptc.core.lwc.server.TypeDefinitionServiceHelper.service.getTypeDefView(com.ptc.core.meta.common.TypeIdentifier);
Finally, I got com.ptc.core.lwc.common.view.ConstraintDefinitionReadView objects in collection.
It maybe a way to try to find out what APi can help you to achieve constraints of attributes.
Menu permission is a general customize to do by Filter.