Questions tagged [rights]

Rights pertain to the privileges users have with regard to specific files, folders, or directories, and include determining whether a user has the ability to view them, modify them, etc. Use this tag when asking a question about assigning rights to files or folders as part of a program, API, utility, or website you are working on.

Rights pertain to the privileges users have with regard to specific files, folders, or directories, and include determining whether a user has the ability to view them, modify them, etc. Use this tag when asking a question about assigning rights to files or folders as part of a program, API, utility, or website you are working on.

259 questions
0
votes
4 answers

assign a user a role from admin creates a user, in Yii Rbac extension Rights

I have installed rights as suggested by most people, its easy to implement Role based access control. but I am stuck at a problem.. I need to assign a user a role from admin, who can change their roles..etc.. As rights doesn't create models for the…
user1135655
  • 107
  • 1
  • 2
  • 9
0
votes
1 answer

user rights to add document in library SharePoint 2010

I want to check, if user can add document in document library then custom action is enabled. I used this article. And then I encountered the following problem: I don't know how check user rights of adding for this library. I try to use SPGroup of…
0
votes
1 answer

Restrict acces to a folder(and all its files and subdirectories) stored on a sd card C#

Hy, is there any posibillities to restrict acces to a folder stored on an sd card? I tried this but it doesn't work...Any ideas are welcome. Thanks... public static void setRight(string dirName,string account, FileSystemRights rights,…
-1
votes
1 answer

MediaWIKI Changing write access for Mainpage to specific users

Is it possible to to give access to some users on MediaWiki to allow them to modify the Wiki mainpage without giving them administrator rights in the User rights management ? Which setting should be used ? Thank you.
JS_
  • 61
  • 2
  • 7
-1
votes
1 answer

Ask for Administative priviliges despite using sudo?

I am trying to unzip a file with the following command but get a privilige error. -bash-4.2$ unzip traccar-linux-*.zip && ./traccar.run Archive: traccar-linux-64-latest.zip replace traccar.run? [y]es, [n]o, [A]ll, [N]one, [r]ename: A inflating:…
ABBOV
  • 55
  • 4
-1
votes
1 answer

Copy to SD Card changes the Execute permissions (Linux)

I have a file on /tmp -rw-r--r-- 1 root root 6782 Jun 30 11:20 DATA_00.csv when I copy it to SD Card with cp /tmp/DATA_00.csv /mnt/mmccard/ Its Execute flag is set ! -rwxr-xr-x 1 root root 6782 Jun 30 11:21…
Harvey
  • 135
  • 1
  • 10
-1
votes
2 answers

Generated typescript files edit rights

I'm writting some typescript code and I would like that no other developpers can directly edit compiled files created with Typescript. Is there a way to automaticly make readonly generated files ? Or maybe to encrypt compiled files to force next…
Xue Fang
  • 108
  • 9
-1
votes
1 answer

Rights of complex command (pipe)

I have a minor complex command using a pipe python3 wlan.py -p taken | awk '{$10 = sprintf( "%.1f", $10 / 60); print $4 $6 $8 $10 ",min"}' | awk '{gsub(/,/," ");print}' >> /tmp/missed.log and I get a permission error if this command is executed…
Andreas
  • 1
  • 1
-1
votes
1 answer

How to show line number on side right QPlainTextEdit in Qt

I am just learning Qt. I want to show line number of QPlainTextEdit. I found this link http://doc.qt.io/qt-5/qtwidgets-widgets-codeeditor-example.html and it worked. But now I want QPlainTextEdit to show line number with other controls on the form…
Temp Tam
  • 21
  • 5
-1
votes
1 answer

My compiled *.exe-file can't create files in windows 8.1

I'm using freepascal. So after I run my code compiler creates an exe file that should create few text files. However after it creates an exe file it says "Program c:\fpc\2.6.4\bin\i386-win32\maxmin.exe exited with exitcode = 2". No text files are…
-1
votes
1 answer

Vbscript for listing explicit rights

I've found a vbscript at possibly defunct scripting blog that I would like to use on our Windows 7 system. When I attempt to use it, I get an Invalid Object Path from line 38: Set objSecuritySettings = objWMIService.Get _ …
user2278760
  • 3
  • 1
  • 2
-2
votes
2 answers

Where to put rights management logic in MVC software architecture

Let's say I have models that are subjects to rights when used by users, but not when used by business logic. For exemple: When one create an item A, it automaticaly creates an Item B. Users must have the right to create A or B if he wants to create…
-2
votes
1 answer

Can you work without local admin rights on your work machine as a professional programmer?

I work as a Programming tutor and course developer, in Dot Net using VS 2013 /15' Owing to college policies I have lost local admin rights to my work machine resulting in many calls to help desk to for install simple actions such as updating Visual…
netchicken
  • 355
  • 2
  • 7
  • 20
-2
votes
3 answers

Powershell - Exchange - Remove almost all mailbox rights

My original question was a bit complex. However some cool memebers did manage to help me. I got the following piece of code from Vesper: $mailbox=get-mailbox $username $perms=get-mailboxpermission $mailbox | where {$_.isinherited -eq $false -and…
John
  • 1
  • 2
-2
votes
2 answers

How to run .exe without admin rights at school

I am trying to play some online games on the school computers. Although everytime i try to run exes of setups such as Hearthstone-Setup-enUS.exe i get the User Account Control blocking me from installing applications. I undersrand that installing…
Samuel Cota
  • 57
  • 1
  • 2
  • 6
1 2 3
17
18