(id, table, ace, pos="end")
| 1071 | ace.AceFlags = aceflags |
| 1072 | |
| 1073 | def addace(id, table, ace, pos="end"): |
| 1074 | data = ace.extractData(accessMask=LDAP_DS_ACCESS_RIGHTS) |
| 1075 | table.insert( |
| 1076 | "", |
| 1077 | pos, |
| 1078 | id, |
| 1079 | values=( |
| 1080 | ace.sprintf("%AceType%"), |
| 1081 | self._rslvsid(data["sid-string"]), |
| 1082 | str(data["mask"]) |
| 1083 | + ( |
| 1084 | " (%s)" % self._rslvtype(data["object-guid"]) |
| 1085 | if data["object-guid"] |
| 1086 | else "" |
| 1087 | ), |
| 1088 | ace.sprintf("%AceFlags%"), |
| 1089 | ), |
| 1090 | ) |
| 1091 | |
| 1092 | def acltable(name): |
| 1093 | aclfrm = ttk.LabelFrame(dlg, text=name, borderwidth=0) |
nothing calls this directly
no test coverage detected