[#990] Loop with local variable
[#990] Disable `Add Folder` and `Add Survey` links when no permissions