/* trim off the trailing spaces */
strcpy(name, strtrim(name));
- /* if the query is update_container and the containers is to be renamed
- * and it is a top-level container, only dbadmin can do it */
+ /* Only dbadmin can rename containers. */
if (!strcmp(q->shortname, "ucon"))
{
newname = argv[1];
- if (strcmp(name, newname) && strchr(name, '/') == NULL)
+ if (strcmp(name, newname))
return MR_PERM;
}