How to delete dm_acl objects

I tried to use DQL to delete ACLs, but unfortunately it doesn’t work. So in the end I had to resort to use API to delete it. Naturally I would have done this:

delete from dm_acl objects where object_name = ‘my custom acl’;

But since it hit an error, I have to get the r_object_id:

select r_object_id from dm_acl objects where object_name = ‘my custom acl’;

And run the API command:

destroy,c,”r_object_id”

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: