Commit ed7ff41
Vadim Gremyachev
fix: swap High/Low in BasePermissions.set() and has()
self.High was storing Low bits (0-31) and self.Low was storing
High bits (32-63), causing to_json() to serialize values into
the wrong SharePoint API fields.
Fixed by swapping the assignments in set() and the checks in
has() so that names match the SharePoint convention:
- Low = bits 0-31
- High = bits 32-63
to_json() and set_property() need no changes.
Fixes #9591 parent 2fbdb06 commit ed7ff41
1 file changed
Lines changed: 3 additions & 3 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | 45 | | |
| 46 | + | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments