////
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.
////

[[ui-aclSid]]
=== AclSid Management

The default action for the AclSid controller is search. By default only the standard fields are available but this is customizable with the <<ui-s2ui-override>> script - see the <<ui-customization>> section for details.

The `sid` field has an Ajax autocomplete to assist in finding instances. Leave the field empty and `principal` set to Either to return all instances.

image::acls/acl_sid_search_start.png[]

Results are shown paginated in groups of 10. The column headers are clickable and will sort the results by that field:

image::acls/acl_sid_search_results.png[]

==== AclSid Edit

After clicking through to a sid you get to the edit page (there are no view pages):

image::acls/acl_sid_edit.png[]

You can update the name and whether it's a Principal sid or a Role sid, and delete the instance if there aren't any associated `AclObjectIdentity` or `AclEntry` instances - by default there is no support for cascading.

You can also see the associated `AclObjectIdentity` instances (OIDs) or `AclEntry` instances.

==== AclSid Create

You can create new instances by going to `/aclSid/create` or by clicking the `Create` action in the `SID` menu under `ACL`.

image::acls/acl_sid_create.png[]
