Comments (3)
I believe the intended distinction is that None
comes back from admin_list
, member_list
, and owner
if you aren't a member/admin of the group. But this should definitely be documented better.
from ironoxide.
Currently, the group permissions include is_admin
and is_member
- if both are false, you can't get any information about the group admins and members. So this information is somewhat redundant with the none
Option for the admin / member lists.
Getting rid of the Option around the vecs gets rid of an extra layer of unwrapping in the consumer, which seems good. We would put this in a v2 ironoxide API feature branch. Not needed any time soon - we can accumulate things in the feature branch until we have enough to release.
from ironoxide.
@coltfred brought up that we could return an enum type of the GroupMeta
and GroupFull
types with an impl that lets you use the things that will always be there, and you could match if you need to use something that might not be there (owner
or needs_rotation
).
from ironoxide.
Related Issues (20)
- RUSTSEC-2020-0146: arr! macro erases lifetimes HOT 2
- publicsuffix can be dropped HOT 2
- Group admins should be able to remove the group from a document's share list HOT 1
- Deserialization error in DocumentMetadataResult without permission to decrypt
- Determine what might be limiting # of parallel decrypts HOT 1
- Port `spawn_blocking` idea to all SDK methods that do significant non-network work HOT 1
- RUSTSEC-2020-0071: Potential segfault in the time crate HOT 2
- RUSTSEC-2020-0159: Potential segfault in `localtime_r` invocations HOT 1
- RUSTSEC-2021-0127: serde_cbor is unmaintained HOT 2
- RUSTSEC-2022-0002: Unsoundness in `dashmap` references HOT 1
- RUSTSEC-2022-0014: Infinite loop in `BN_mod_sqrt()` reachable when parsing certificates
- Make CreateOpts fields public HOT 2
- `IronOxideErr::AesError` isn't very useful
- Improve error message from ironoxide init timeout
- RUSTSEC-2022-0032: AES OCB fails to encrypt some bytes
- JWT validation doesn't allow conflicting prefixed and non-prefixed claims HOT 2
- Add public signing key to device list response HOT 1
- How to automatically get the Key Assertion key from admin page? HOT 2
- cargo package fails because of `proto` folder
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ironoxide.