Hubzilla
Login
Hubzilla
Login
System Apps
Directory
Help
Language
Public Stream
Random Channel
Report Bug
Search
Fixes of addon flashcards
2025-03-11 16:20:48
View Profile
Hubzilla Support Forum
adminsforum@hubzilla.org
oj
wrote the following
post
Tue, 11 Mar 2025 16:20:48 +0100
Fixes of addon flashcards
Please see
#^
https://framagit.org/hubzilla/addons/-/merge_requests/440
5
Harald Eilertsen
Ema エマ
Scott M. Stolz
Mario Vavti
*_jayrope
Link to Source
show all
9 comments
2025-03-11 18:10:20
View Profile
oj
oj@hubzilla.monster
TODO: There is still an issue with the ACL dialog used to overwrite the default permissions.
1
Scott M. Stolz
Link to Source
2025-03-12 16:29:34
View Profile
Mario Vavti
mario@hub.somaton.com
Thanks @
oj
!
1
oj
Link to Source
2025-03-13 12:14:48
View Profile
oj
oj@hubzilla.monster
When the addon Flashcards was created years ago, Hubzilla provided an acl dialog to set both read AND write permissions.
Nowadays all acl dialogs (modal or dropdown I found) only show read permissions. Is this correct?
Why do I ask?
One feature of the addon is (was) to allow users to modify the cards of other users (to add cards, fix typos,...) - if they are allowed to do so. The cards are stored in files. Hence the addon checks file permissions.
Are there any ideas/suggestions how to set write permissions of files.
Link to Source
2025-03-13 12:30:47
View Profile
oj
oj@hubzilla.monster
Hang on a minute... I think I am wrong. The addon has never set the write permission by using an acl dialog.
Still one question left. How do I set write permission of a file?
Link to Source
2025-03-13 12:41:05
View Profile
Harald Eilertsen
harald@hub.volse.no
@
oj
Why do you want to change the permissions on a file? That will affect which other users on the host server has access to the file, but has nothing to do with how Hubzilla channels can interact with it.
In any case, you can use the PHP
chmod()
function to do that if you must.
Link to Source
2025-03-13 12:53:10
View Profile
oj
oj@hubzilla.monster
How do I set write permission of a file?
The best way is to do it under "contact roles" I guess.
Link to Source
2025-03-13 13:01:23
View Profile
Harald Eilertsen
harald@hub.volse.no
@
oj
Ah... I think perhaps I misunderstood what you meant, then. Thought you meant OS permission in the file system. Disregard previous comment :)
Link to Source
2025-03-13 20:05:47
View Profile
oj
oj@hubzilla.monster
Two changes added to the merge request
- The owner can still view the read permissions in the addon but can not change them any more directly. To change permission the owner of the cards has to use the cloud app.
- Fix a bug that occurs only if the user starts the addon for the very first time
If there are any other changes they will go into another branch / merge request.
1
Harald Eilertsen
Link to Source
2025-03-14 11:38:28
View Profile
Mario Vavti
mario@hub.somaton.com
@
oj
it looks like it is currently not possible to start a new box. The save button is being disabled as soon as i start to type a title...
Link to Source
Conversation Features
Loading...
Conversation Features
Loading...
Login
Email or nickname
Password
Remember me
Login
Password Reset
Remote Authentication
Register