Comments (8)
And/or, and this would be preferable, so maybe a different ticket to be made, is there a way, currently, to obtain a list of system administrators and trust group admins?
from trident.
Typos solved in tridentli/pitchfork#91 (pitchfork) -- to be merged.
from trident.
Note that you should use 'tcli system swapadmin' first, you'll then be a sysadmin instead of a regular user and should be able to change permissions.
But there seems to be a catch in the swapadmin construct we added that is clashing with changing other user's permissions. Looking into it.
from trident.
Should be addressed in the above patch; please await merging and release.
from trident.
It isn't that the 'tcli system swapadmin' command does not work. I run 'tcli system swapadmin' and that gives permissions to run trust group, mailing list, etc commands. It's the 'tcli user set sysadmin' command that doesn't work (or I don't know how to use that specific command properly). Perhaps this merge fixes that, I just wanted to be clear about the problem we're experiencing.
from trident.
It's the 'tcli user set sysadmin' command that doesn't work (or I don't know how to use that specific command properly).
You are using it correctly, but it is, as you found, broken, thanks for reporting.
Perhaps this merge fixes that, I just wanted to be clear about the problem we're experiencing.
Yep, that merge fixes your problem. It is awaiting review ;)
Apologies for being unclear; I should have written a bit more detail in the last comment.
In short summary: when we fetch a user, in pre-fix we would split the issysadmin/canbeadmin bit inside the user; but then when you fetch another user, that user would also be split and per default not have the issysadmin bit set even though it should have been. By moving the swapadmin logic into ctx where it belongs, this now is not an issue anymore as any fetched user actually matches the database contents.
The meat of the fix is:
tridentli/pitchfork@46db7e7
btw; this as there are a pile of items in review that build upon each other, hence the merge is larger than it should be.
from trident.
Okay, got it! Thanks!
from trident.
@massar, I know you said you guys have a whole pile of things to review. I see you have a pull request in, do you have a general estimate of when this fix will be merged in? Thanks!
from trident.
Related Issues (20)
- Enhancement: Prohibit trustgroup administrators from changing members' profiles if users are sysadmin
- Feature Request: Option for Reverse-Alphabetical Sort of Files in portal
- Bug: Files listings offer a "Forward" button, but when clicked, data from the original page is shown, rather than a separate page of files
- "Block User" concerns HOT 2
- Issue: When DB cannot be connected, there's no error thrown on Trident
- Feature Request: File Upload System "File Type" restrictions HOT 1
- Allow BCC emails to be forwarded to multiple groups
- ops-trust link is broken HOT 3
- [Portal: CLI] PGP Secret Key Disclosure Risk HOT 1
- [Portal: CLI] Trust Group Name Enumeration Risk
- Need help getting Trident work for a functional test for DHS HOT 7
- IPTrk and XFF: Odd behavior when using same IP range as the system
- Cannot send encrypted email with attachments
- [Web portal CLI] When sysadmin uses CLI for user deletion, no response back on success or failure
- Missing trident-wrapper
- Update profile on group member page does not work
- [Bug] Mailing Lists created with Capital Letters result in 404 errors, though DB shows the mailing list created.
- Feature Request: Auto-notify upon WIKI updates and Files Uploaded
- Feature Request: Show Most 'Recent File Date' in repository directories view
- Unable to update - picture or PGP key HOT 1
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 trident.