mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 06:35:08 -04:00
added permission check for friends to see shared files or not
This commit is contained in:
parent
1290aa8403
commit
4b00d47d3a
3 changed files with 47 additions and 8 deletions
|
@ -164,6 +164,18 @@ public:
|
|||
*/
|
||||
bool getFileInfo(DirectoryStorage::EntryIndex i,FileInfo& info) ;
|
||||
|
||||
/*!
|
||||
* \brief getFileSharingPermissions
|
||||
* Computes the flags and parent groups for any index.
|
||||
* \param indx index of the entry to compute the flags for
|
||||
* \param flags computed flags
|
||||
* \param parent_groups computed parent groups
|
||||
* \return
|
||||
* false if the index is not valid
|
||||
* false otherwise
|
||||
*/
|
||||
bool getFileSharingPermissions(const EntryIndex& indx, FileStorageFlags &flags, std::list<std::string>& parent_groups);
|
||||
|
||||
virtual bool extractData(const EntryIndex& indx,DirDetails& d) ;
|
||||
|
||||
/*!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue