|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
STV Import: Restricted Access STV
If you are looking for a way to prevent what actions placeshifter, extender or client users can perform, look no further. This STVi allows you to password-restrict option changes, configuration changes, recording schedule modifications and file deletions.
Each of these restrictions are independently controlled. So, for example, you can allow placeshifter users to view recordings and change the options that effect their placeshifter UI while restricting the placeshifter users from creating new recordings or modifying settings that effect all placeshifters/clients/extenders. You can also dis-allow extenders from accidentally changing settings that ought not be touched. (Having kids I know what a few errant remote-control presses can do!) v1.2 Enhancements:
v1.1 Enhancements:
To install:
Code:
rra/enabled=true rra/delete_enabled=true rra/record_enabled=true rra/config_enabled=true rra/server_enabled=true rra/delete_pwd=PASSWORD1 rra/record_pwd=PASSWORD2 rra/config_pwd=PASSWORD3 rra/server_pwd=PASSWORD4 Configuration:
Notes:
If you intend to use this to restrict placeshifter users: This is slightly more complicated because you must use a client (or the server UI) to create an STV that will become the default STV for a placeshifter user.
Download here: http://forums.sagetv.com/forums/down...do=file&id=332
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. Last edited by tmiranda; 03-03-2010 at 06:17 PM. Reason: v1.2 |
#2
|
|||
|
|||
When you upgrade versions do you need to stop and restart server?
Also, I noticed the do not like was toggled as a local setting and was password protected. Is there a reason for placing it in local vs recordings? Lastly, are passwords now starred in entry? It is kind of difficult to keep the kids from figuring it out when you have the plain view of it during entry. Thanks for building this, I appreciate it. B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#3
|
||||
|
||||
No need to restart if you are upgrading. It's actually the same as ALPHA 3 so no need to do anything if you are running that.
"Don't Like" should require SERVER access so that's a bug. From what screen are you setting it and are you using a keyboard/mouse or remote control? If remote control are you pressing the "Don't Like" key or selecting the item from a menu? You need to be specific because there are always several ways to do things and each one has it's own code. Passwords are not starred. I debated which way to go on that, and I probably came to the wrong decision. I'll change that.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#4
|
|||
|
|||
I was in the SageTV Recordings menu. Pressed the don't like on remote and asked for a password. I thought it said local, but it could have said server.
Can you explain the thought process on making don't like a server item vs a recording item? In my line of thought, which may not be correct, everything which is recording related and specific to setting, deleting, not liking, etc., ought to be bundled together. Thanks again B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#5
|
||||
|
||||
When you get a chance let me know for sure if the "Don't Like" password is looking for a local config password or a server config password. Also let me know if you are using the malore menus or the standard menus.
My thought process on "Don't Like" is that it effects Intelligent Recording (which effects the functioning of the server) so it should be considered a server setting. I'm open to sugggestions on making the STVi more useful so let me know if you have more thoughts on this.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#6
|
||||
|
||||
Quote:
In this sort of scheme a system admin could even arrange the checkboxes in overlapping sets, so that for instance the "server" group could also include all the permissions of the "record", "delete", and "local" groups. Then you'd have only one password to enter to access all functions, instead of separate passwords for separate function groups. At this point it then becomes desirable to be able to rename the groups, so instead of "record", "delete", etc. you could call them "Kids", "Mom", "UberGeek", and so on and set the permissions appropriately for those user groups (rather than function groups).
__________________
-- Greg |
#7
|
||||
|
||||
Greg,
Yes, as usual you have hit the nail on the head. What I actually had in mind for version 2 was to switch to a "user" based model where each user would have to "log in" and then have access to functions based on some type of permissions table. I'm still learning studio and I wanted to take small steps rather than jump into something I would be incapable of completing. That's why I chose a simple authentication model for version 1. Tom
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#8
|
|||
|
|||
I think you are doing well for just learning! My perspective on what falls where is just my opinion, I was hoping to better understand the methodology applied.
B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#9
|
||||
|
||||
Thanks. But if you really want to see what some Sage "newbies" can do take a look at the stuff that PLUCKHD and razrsharp are producing - it's simply eye-popping!
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#10
|
||||
|
||||
Version 1.1 is now available. It is easy to configure (no editing properties files) and has some enhancements as well.
Download here: http://forums.sagetv.com/forums/down...do=file&id=332
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#11
|
|||
|
|||
This is a great piece of work and addresses a gap in Sage that I have been raising on this forum for a couple of years now. Unfortunately I did not have to time to develop an STVi to cover the gap but your effort certainly covers most of the security features I had envisioned. I would like to add a request for future consideration. I currently use a security workaround at home where I change an STV with a search/replace script to eliminate functionality I don't want users to access. In that script I make a distinction between manaul recordings and favorites. In my STV currently I allow manual recordings but do not allow additions/deletions or modifications of favorites. Can you change your scheme so that manual recordings (including Live TV) and favorites are split apart into two categories so that permissions can be assigned to them individually? In your current scheme I have no way to restrict favorite modifications without also restricting manual recordings.
Thanks Lester
__________________
Lester Jacobs Web: http://www.digicasa.com "The shortest answer is doing." English Proverb. Collected in: George Herbert, Jacula Prudentum (1651). |
#12
|
||||
|
||||
Lester,
I am considering making changes which will address this. No timescales however. Tom
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#13
|
|||
|
|||
Will this work with SageMC
I've been waiting for something like this. We're shortly to take on foster children and alongside the parental control system I need to be able to prevent 'malicious damage' to the Sage setup.
I note that yor guide refers the standard SAGETV(3) direcotry but wonder whether this import also works with SAGEMC. If it does then it's just what I'm looking for. But don't want to jump in and install it if it's going to mess up my sagemc installation. Either way a long overdue import IMHO - but will it work with SAGEMC? |
#14
|
||||
|
||||
Sorry Rod, it will not work with SageMC.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#15
|
|||
|
|||
Would you be willing to do a SageMC port? I would also be interested.
|
#16
|
||||
|
||||
Possibly. The main problem is that I'm not familiar with SageMC and in order to implement the STVi I need to put "checking code" at every point in the STV where user interactions occur. It's not hard now that I have written the code, it's just a matter of *finding* all the places it needs to go.
I think razrsharp is secretly starting a conspiracy to get me to switch to SageMC
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#17
|
|||
|
|||
I'm sure there are many SAGEMC users who'd be interested in this - but congratulations on implementing at least in the standard stv.
I'd be very happy to BETA test if your interested in implementing for SAGEMC . |
#18
|
|||
|
|||
Tom,
Would it be possible to add a toggle for strong/weak passwords? I would prefer only numeric passwords instead of the alpha key entry. Like the parental controls entry. B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#19
|
||||
|
||||
I'll put it on the "to do" list. I'm not happy with the password entry dialog either
What do you have in mind for strong/weak password?
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#20
|
||||
|
||||
v1.2
New version 1.2:
v1.2 Enhancements:
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
STV Import: Comskip Playback for Default STV (v1.5.4 30/August/2008 for SageTV 5/6) | JREkiwi | SageTV Customizations | 600 | 11-23-2011 07:58 AM |
STV Import: External Apps for the Default STV (v4.0.3 18/November/2007) | JREkiwi | SageTV Customizations | 51 | 03-30-2011 10:47 PM |
STV Import: Auto Compress for version 6 Default STV (V1.4.5 1/October/2008) | JREkiwi | SageTV Customizations | 325 | 10-15-2010 03:06 PM |
STV Import: Fan Art for Default STV by TiKi (v2.2 Feb 22, 2009) | Tiki | SageTV Customizations | 102 | 01-05-2010 05:16 PM |
STV Import: A Collection of Minor Tweaks for the Default STV for SageTV 5.0/6.0 | JREkiwi | SageTV Customizations | 126 | 01-10-2009 08:45 PM |