Detect effective rights of object

Given a domain model with complex xpath access rules can I get the effective rights? I would like to know whether the current user has write access to an object. Otherwise I get an error '... failed for security reasons'
1 answers

Yes you can (with a Java action), have a look at

In short, obtain the IMendixObject, then the IMendixObjectMember (Attribute in your Domain model) and ask if you have read access or write access with a certain context.