Security Trimming does not work with custom authorization attributes
When custom authorization attribute is used it is not evaluated and the menu item not hidden, if authorization has failed.
Security Trimming does not work with custom authorization attributes.