Developers should not rely on demo users for testing or demoing since they bypass security. This can lead to unexpected behavior when normal users start to use the system as they have to comply with all security rules.
Noncompliant example:
Compliant example: