Hi,

it seems that I accidentally dropped the admin role from a development
database server that I would hate to have to set up again:

172.16.1.186 - hans [22/May/2017:20:04:33 +0200] "GET
/drop-role.xqy?section=security&role=8487823278258687528 HTTP/1.1" 200 5115
"http://marklogic:8001/role-admin.xqy?section=security&;
role=8487823278258687528" "M
ozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/58.0.3029.110 Safari/537.36"

I did not intend to delete the role (but I deleted a user).  However, when
I now try to access the database admin web interface , I get this message:

500: Internal Server Error
SEC-NOADMIN: (err:FOER0000) User does not have admin role.
In /MarkLogic/security.xqy on line 5338
In sec:check-admin()
In /MarkLogic/Admin/lib/status-check.xqy on line 17
In status-check()
In / on line 6

Is there any way to recover from this, other than reinstalling MarkLogic
from scratch?

Thanks,
Hans

-- 
LambdaWerk GmbH
Oranienburger Straße 87/89
10178 Berlin
Phone: +49 30 555 7335 0
Fax: +49 30 555 7335 99

HRB 169991 B Amtsgericht Charlottenburg
USt-ID: DE301399951
Geschäftsführer:  Hans Hübner

http://lambdawerk.com/
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to