Index: trunk/grails-app/controllers/PersonController.groovy
===================================================================
--- trunk/grails-app/controllers/PersonController.groovy	(revision 722)
+++ trunk/grails-app/controllers/PersonController.groovy	(revision 724)
@@ -94,5 +94,13 @@
             // Avoid self-delete.
             if (!(authPrincipal instanceof String) && authPrincipal.username == person.loginName) {
-                flash.message = "You cannot delete yourself, please login as another manager and try again."
+                flash.errorMessage = "You cannot delete yourself, please login as another manager and try again."
+                redirect(action:show,id:params.id)
+            }
+            else if ( person.id == 1L) {
+                flash.errorMessage = "You cannot delete the pseudo system person."
+                redirect(action:show,id:params.id)
+            }
+            else if ( person.id == 2L) {
+                flash.errorMessage = "You cannot delete the admin person."
                 redirect(action:show,id:params.id)
             }
@@ -115,5 +123,5 @@
         }
         else {
-            flash.message = "Person not found with id $params.id"
+            flash.errorMessage = "Person not found with id $params.id"
         }
     }
@@ -131,4 +139,11 @@
             return
         }
+
+        if ( person.id == 1L) {
+            flash.errorMessage = "You cannot edit the pseudo system person."
+            redirect(action:show,id:params.id)
+            return
+        }
+
         params.message = "To allow login at least the 'ROLE_AppUser' authority must be given."
         return buildPersonModel(person)
@@ -152,4 +167,10 @@
                 person.errors.rejectValue 'version', "default.optimistic.locking.failure"
                 render view: 'edit', model: buildPersonModel(person)
+                return
+            }
+
+            if ( person.id == 1L) {
+                flash.errorMessage = "You cannot edit the pseudo system person."
+                redirect(action:show,id:params.id)
                 return
             }
