Thread:Project:Support desk/Permission to edit pages only if that user belongs to that group/reply (14)

You aren't putting the page you want to protect in a protected namespace, so it doesn't get protected. If you use "aec:test aec page" as a page name, it will be protected.